'The two string representations of the L{IListeningPort} returned by
L{IReactorUNIX.listenUNIX} contains the name of the new-style factory
class being used and the filename on which the port is listening or
indicates that the port is not listening.'

def test_reprWithNewStyleFactory(self):

    class NewStyleFactory(object, ):
        def doStart(self):
            pass
        def doStop(self):
            pass
    self.assertIsInstance(NewStyleFactory, type)
    return self._reprTest(NewStyleFactory(), 'twisted.test.test_unix.NewStyleFactory')
