'L{UnixApplicationRunner.setupEnvironment} changes the process umask to
the value specified by the C{umask} parameter.'

def test_umask(self):

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