def test_exception_handling(self): self.set_element_exception(Exception) self.assertEqual([], CDBP.get_notification_service_mapping('Channel'))
def test_ok(self): self.set_element_return_value(['Stuff']) self.assertEqual(['Stuff'], CDBP.get_notification_service_mapping('Channel'))