'If the only delayed call is canceled, L{None} is the timeout passed
to C{doIteration}.'

def test_cancelDelayedCall(self):

    reactor = TimeoutReportReactor()
    call = reactor.callLater(50, (lambda : None))
    call.cancel()
    timeout = self._checkIterationTimeout(reactor)
    self.assertIsNone(timeout)
