'L{IReactorProcess.spawnProcess} connects the protocol passed to it
to a transport which provides L{IProcessTransport}.'

def test_processTransportInterface(self):

    ended = Deferred()
    protocol = _ShutdownCallbackProcessProtocol(ended)
    reactor = self.buildReactor()
    transport = reactor.spawnProcess(protocol, pyExe, [pyExe, '-c', ''], usePTY=self.usePTY)
    self.assertTrue(IProcessTransport.providedBy(transport))
    ended.addCallback((lambda ignored: reactor.stop()))
    self.runReactor(reactor)
