assertEquals('test.com', $api->getClient()->getConfig()['base_uri']->getHost()); } }