예제 #1
0
파일: URLTest.php 프로젝트: bakgat/notos
 /**
  * @test
  * @group url
  */
 public function should_test_equality()
 {
     $one = new URL('www.klimtoren.be');
     $two = new URL('http://www.klimtoren.be');
     $three = new URL('ww.klimtoren.be/');
     //ww instead of www
     $this->assertTrue($one->equals($two));
     $this->assertFalse($three->equals($one));
 }