Beispiel #1
0
 /**
  * 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());
 }