/** * @covers Mage_Selenium_TestCase::httpResponceIsOK */ public function testHttpResponseIsOK() { $instance = new Mage_Selenium_TestCase(); $this->assertTrue($instance->httpResponseIsOK('http://www.w3.org/')); $this->assertTrue($instance->httpResponseIsOK('www.w3.org')); $this->assertTrue($instance->httpResponseIsOK('wikipedia.org')); //Redirection $this->assertFalse($instance->httpResponseIsOK('http://foo.nowhere/')); }