def METHOD_NAME(self):
    counters = Mock()
    counters.stdout = "a:None|a:a|"
    self.assertIsNone(self.plugin.sanitize_counters(None))
    self.assertEquals(self.plugin.sanitize_counters(counters), {'a': 'a'})