Ejemplo n.º 1
0
 /**
  * @test
  */
 public function can_resolve_http_schemes()
 {
     $r = new DirectoryResolver();
     $this->assertInstanceOf('Quickmire\\ApiTester\\Fetchers\\HttpFetcher', $r->resolve('http://httpbin.org/ip'), "http uri did not resolve to HttpFetcher");
     $this->assertInstanceOf('Quickmire\\ApiTester\\Fetchers\\HttpFetcher', $r->resolve('https://httpbin.org/ip?param=123&param2=#afdaf'), "https uri with query string and hashes did not resolve to HttpFetcher");
 }