'L{UnixApplicationRunner.setupEnvironment} daemonizes the process if
C{False} is passed for the C{nodaemon} parameter.'

def test_daemonize(self):

    with AlternateReactor(FakeDaemonizingReactor()):
        self.runner.setupEnvironment(None, '.', False, None, None)
    self.assertTrue(self.daemon)
