'The parameters passed to the endpoint are stored in it.'

def test_constructorNonDefaults(self):

    environ = {'HOME': None}
    ep = endpoints.ProcessEndpoint(MemoryProcessReactor(), '/bin/executable', ['/bin/executable'], {'HOME': environ['HOME']}, '/runProcessHere/', 1, 2, True, {3: 'w', 4: 'r', 5: 'r'}, StandardErrorBehavior.DROP)
    self.assertIsInstance(ep._reactor, MemoryProcessReactor)
    self.assertEqual(ep._executable, '/bin/executable')
    self.assertEqual(ep._args, ['/bin/executable'])
    self.assertEqual(ep._env, {'HOME': environ['HOME']})
    self.assertEqual(ep._path, '/runProcessHere/')
    self.assertEqual(ep._uid, 1)
    self.assertEqual(ep._gid, 2)
    self.assertTrue(ep._usePTY)
    self.assertEqual(ep._childFDs, {3: 'w', 4: 'r', 5: 'r'})
    self.assertEqual(ep._errFlag, StandardErrorBehavior.DROP)
