Ejemplo n.º 1
0
 /**
  * getUrl() should return string (keep in mind, a url is required on 
  *     instantiation as a constructor argument; it'll always exist)
  */
 public function test_getUrl_returnsString()
 {
     $url = 'http://example.com';
     $request = new Delete($url);
     $this->assertEquals($url, $request->getUrl());
 }