def test_rule_023(self):
     oRule = architecture.rule_023()
     self.assertTrue(oRule)
     self.assertEqual(oRule.name, 'architecture')
     self.assertEqual(oRule.identifier, '023')
     dExpected = ['2-10']
     oRule.analyze(oFileComment)
     self.assertEqual(oRule.violations, dExpected)
 def test_fix_rule_023(self):
     oRule = architecture.rule_023()
     dExpected = []
     oRule.fix(self.oFile)
     oRule.analyze(self.oFile)
     self.assertEqual(oRule.violations, dExpected)