'C{daemonize} does NOT call L{IReactorDaemonize.beforeDaemonize} or
L{IReactorDaemonize.afterDaemonize} if the reactor does NOT implement
L{IReactorDaemonize}.'

def test_hooksNotCalled(self):

    reactor = FakeNonDaemonizingReactor()
    self.runner.daemonize(reactor)
    self.assertFalse(reactor._beforeDaemonizeCalled)
    self.assertFalse(reactor._afterDaemonizeCalled)
