def setUp(self):
        nsiqcppstyle_rulemanager.ruleManager.ResetRules()
        nsiqcppstyle_rulemanager.ruleManager.ResetRegisteredRules()
        nsiqcppstyle_state._nsiqcppstyle_state.verbose = True
        nsiqcppstyle_reporter.Error = MockError
        self.setUpRule()
        global errors
        errors = []