'Construct a L{StandardIOEndpoint} with a dummy reactor and a fake
L{stdio.StandardIO} like object.  Listening on it with a
L{SpecificFactory}.'

def setUp(self):

    self.reactor = object()
    endpoint = endpoints.StandardIOEndpoint(self.reactor)
    self.assertIs(endpoint._stdio, stdio.StandardIO)
    endpoint._stdio = FakeStdio
    self.specificProtocol = Protocol()
    self.fakeStdio = self.successResultOf(endpoint.listen(SpecificFactory(self.specificProtocol)))
