'L{SSHCommandClientEndpoint} uses the C{port} argument if specified.'

def test_specifiedPort(self):

    endpoint = SSHCommandClientEndpoint.newConnection(self.reactor, 'dummy    command', 'dummy    user', self.hostname, port=2222)
    self.assertEqual(2222, endpoint._creator.port)
