def test_rule_500_upper(self):
        oRule = ieee.rule_500()
        oRule.case = 'upper'
        self.assertTrue(oRule)
        self.assertEqual(oRule.name, 'ieee')
        self.assertEqual(oRule.identifier, '500')

        lExpected = []
        lExpected.extend(range(5, 10))
        lExpected.extend([12, 13, 15, 16, 17, 18])
        lExpected.extend(range(26, 28))
        lExpected.extend([30])
        lExpected.extend(range(32, 34))
        lExpected.extend(range(39, 44))
        lExpected.extend([46, 47, 49, 50, 51, 52])

        oRule.analyze(self.oFile)
        self.assertEqual(utils.extract_violation_lines_from_violation_object(oRule.violations), lExpected)