예제 #1
0
파일: UrlTest.php 프로젝트: bee4/transport
 /**
  * Check authentication detection
  */
 public function testHasAuth()
 {
     $urlWithoutAuth = new Url('http://www.bee4.fr');
     $this->assertFalse($urlWithoutAuth->hasAuth());
     $urlWithAuth = new Url('http://*****:*****@www.bee4.fr');
     $this->assertTrue($urlWithAuth->hasAuth());
 }