def test_rule_007(self):
        oRule = entity.rule_007()
        self.assertTrue(oRule)
        self.assertEqual(oRule.name, 'entity')
        self.assertEqual(oRule.identifier, '007')

        dExpected = [19, 34]
        oRule.analyze(oFile)
        self.assertEqual(oRule.violations, dExpected)
 def test_fix_rule_007(self):
     oRule = entity.rule_007()
     oRule.fix(oFile)
     oRule.analyze(oFile)
     self.assertEqual(oRule.violations, [])