def test_add_argument_returns_service(self): service = Service(Mock) result = service.add_argument('key', 'value') self.assertEqual(service, result)
def test_add_argument(self): service = Service(Mock) service.add_argument('key', 'value') self.assertDictEqual(service.arguments, {'key': 'value'})