'L{ProcessEndpoint.connect} returns a Deferred with the connected
protocol.'

def test_connect(self):

    proto = self.successResultOf(self.ep.connect(self.factory))
    self.assertIsInstance(proto, StubApplicationProtocol)
