'L{ClientCreator.connectUNIX} calls C{reactor.connectUNIX} with the
filename passed to it, and with a factory which will construct the
protocol passed to L{ClientCreator.__init__}.'

def test_connectUNIX(self):

    def check(reactor, cc):
        cc.connectUNIX('/foo/bar', 123, True)
        (address, factory, timeout, checkPID) = reactor.unixClients.pop()
        self.assertEqual(address, '/foo/bar')
        self.assertEqual(timeout, 123)
        self.assertTrue(checkPID)
        return factory
    self._basicConnectTest(check)
