/** * @test */ public function setNameCorrectlySetsRouteName() { $this->route->setName('SomeName'); $this->assertEquals('SomeName', $this->route->getName()); }