public testAcceptableHTTPCodes ( $config, $HTTPCodes ) |
public function testAcceptableHTTPCodes($config, $HTTPCodes)
{
$urls = $this->getUrlGeneratorInstance()->generate($config)->getUrls();
/**
* @var Url $firstUrl
*/
$firstUrl = reset($urls);
$this->assertEquals($HTTPCodes, $firstUrl->getAcceptableHttpCodes());
}