'Check that the protocol does timeout at the time specified by its
C{timeOut} attribute.'

def test_timeout(self):

    self.proto.makeConnection(StringTransport())
    self.clock.pump([0, 0.5, 1.0, 1.0])
    self.assertFalse(self.proto.timedOut)
    self.clock.pump([0, 1.0])
    self.assertTrue(self.proto.timedOut)
