/** * @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)); }