'L{UnixApplicationRunner.setupEnvironment} changes the process umask to
C{0077} if L{None} is passed for the C{umask} parameter and C{False} is
passed for the C{nodaemon} parameter.'

def test_daemonizedNoUmask(self):

    with AlternateReactor(FakeDaemonizingReactor()):
        self.runner.setupEnvironment(None, '.', False, None, None)
    self.assertEqual(self.mask, 63)
