'Test that the transport ignores data sent before the version string.'

def test_dataBeforeVersion(self):

    proto = MockTransportBase()
    proto.makeConnection(proto_helpers.StringTransport())
    data = (("here's    some    stuff    beforehand\nhere's    some    other    stuff\n" + proto.ourVersionString) + '\r\n')
    [proto.dataReceived(c) for c in iterbytes(data)]
    self.assertTrue(proto.gotVersion)
    self.assertEqual(proto.otherVersionString, proto.ourVersionString)
