/** * @covers AltoRouter::setBasePath */ public function testSetBasePath() { $basePath = $this->router->setBasePath('/some/path'); $this->assertEquals('/some/path', $this->router->getBasePath()); $basePath = $this->router->setBasePath('/some/path'); $this->assertEquals('/some/path', $this->router->getBasePath()); }