'Assert \'action\' has start message that includes the argument and
keyword argument given, and an end message that includes the result.'

def assert_call_parameters_logged(self, action, arg, kwarg, result):

    assertContainsFields(self, action.start_message, {'args': (arg,), 'kwargs': {'bar': kwarg}})
    assertContainsFields(self, action.end_message, {'result': result})
