def mock_send_error(self, msgid, error):
        self.error = (msgid, error)
        print "error was " + str(self.error)
Mock send response to make testing narrowed down and simpler.
dataset/ETHPy150Open bfrog/whizzer/whizzer/test/test_rpc_pickle.py/TestPickleProtocol.mock_send_error