Beispiel #1
0
 public function testAddingBasePath()
 {
     $config = new Configuration();
     $path = 'v1';
     $config->addRouteBasePath($path);
     $this->assertContains($path, $config->getRouteBasePaths());
     $config->removeRouteBasePath($path);
     $this->assertNotContains($path, $config->getRouteBasePaths());
 }