示例#1
0
文件: GetTest.php 项目: jstewmc/api
 /**
  * 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 Get($url);
     $this->assertEquals($url, $request->getUrl());
 }