'L{TimerService.startService} uses L{internet._maybeGlobalReactor} to
choose the reactor to pass to L{task.LoopingCall}
uses the global reactor.'

def test_startServiceUsesGlobalReactor(self):

    otherClock = task.Clock()
    def getOtherClock(maybeReactor):
        return otherClock
    self.patch(internet, '_maybeGlobalReactor', getOtherClock)
    self.timer.startService()
    self.assertIdentical(otherClock, self.timer._loop.clock)
