'Test the well known flows.'

def testWellKnownFlows(self):

    test_flow = self.FlowSetup(flow_test_lib.WellKnownSessionTest.__name__)
    self.assertEqual(test_flow.session_id, flow_test_lib.WellKnownSessionTest.well_known_session_id)
    messages = [rdf_flows.GrrMessage(payload=rdfvalue.RDFInteger(i)) for i in range(10)]
    for message in messages:
        test_flow.ProcessMessage(message)
    test_flow.messages.sort()
    self.assertEqual(test_flow.messages, range(10))
