def test_get_logger_instance(self): self.assertIsInstance(get_logger_instance(), MessageLogger)
def setUp(self): self.logger = get_logger_instance() self.logger.logger = mock.MagicMock()