/** * @test * @covers Asd\Router\Route::equals */ public function equals_wherePropertiesDiffer_returnsFalse() { $route1 = new Route('GET', 'path', $this->callbackStub); $route2 = new Route('GET', 'other-path', $this->callbackStub); $route3 = new Route('POST', 'path', $this->callbackStub); $this->assertFalse($route1->equals($route2)); $this->assertFalse($route1->equals($route3)); }