--TEST-- AMQPConnection setHost --SKIPIF-- --FILE-- getHost()); $cnn->setHost('nonexistent'); var_dump($cnn->getHost()); --EXPECTF-- string(9) "localhost" string(11) "nonexistent"