'Make sure that when a TimeoutFactory accepts a connection, it will
time out that connection if no data is read or written within the
timeout period.'

def test_timeout(self):

    self.clock.pump([0.0, 0.5, 1.0, 1.0, 0.4])
    self.assertFalse(self.proto.wrappedProtocol.disconnected)
    self.clock.pump([0.0, 0.2])
    self.assertTrue(self.proto.wrappedProtocol.disconnected)
