'Check that we can serialize flows.'

def testFlowSerialization2(self):

    class TestClientMock(object, ):
        in_rdfvalue = rdf_client.EchoRequest
        out_rdfvalues = [rdf_protodict.DataBlob]
        def __init__(self):
            server_stubs.ClientActionStub.classes['ReturnBlob'] = self
            self.__name__ = 'ReturnBlob'
        def ReturnBlob(self, unused_args):
            return [rdf_protodict.DataBlob(integer=100)]
    for _ in flow_test_lib.TestFlowHelper('FlowResponseSerialization', TestClientMock(), token=self.token, client_id=self.client_id):
        pass
