Exemplo n.º 1
0
 public function testInvalidResponseCode()
 {
     $this->_package->url('http://www.google.com/some_wrong_link')->responseCode('/^[2|3]/');
     $this->assertFalse($this->_result->wasSuccessful());
 }