'Patch the callRemote method for this test case\'s protocol.
:param capture_list: A `list` to which results will be added.
:param protocol: Either `None` to default to self.protocol, or
a ``ControlAMP`` instance.'

def patch_call_remote(self, capture_list, protocol):

    def capture_call_remote(capture, *args, **kwargs):
        kwargs.pop('eliot_context')
        capture.append((args, kwargs))
        return succeed(None)
    self.patch(protocol, 'callRemote', (lambda *args, **kwargs: capture_call_remote(capture_list, *args, **kwargs)))
