'Compare path, timeout, checkPID in C{receivedArgs} to C{expectedArgs}.
We ignore the factory because we don\'t only care what protocol comes
out of the C{IStreamClientEndpoint.connect} call.
@param receivedArgs: C{tuple} of (C{path}, C{timeout}, C{checkPID})
that was passed to L{IReactorUNIX.connectUNIX}.
@param expectedArgs: C{tuple} of (C{path}, C{timeout}, C{checkPID})
that we expect to have been passed to L{IReactorUNIX.connectUNIX}.'

def assertConnectArgs(self, receivedArgs, expectedArgs):

    (path, ignoredFactory, timeout, checkPID) = receivedArgs
    (expectedPath, _ignoredFactory, expectedTimeout, expectedCheckPID) = expectedArgs
    self.assertEqual(path, expectedPath)
    self.assertEqual(timeout, expectedTimeout)
    self.assertEqual(checkPID, expectedCheckPID)
