'L{UnixApplicationRunner.setupEnvironment} changes the root of the
filesystem if passed a non-L{None} value for the C{chroot} parameter.'

def test_chroot(self):

    self.runner.setupEnvironment('/foo/bar', '.', True, None, None)
    self.assertEqual(self.root, '/foo/bar')
