public function testGetOptionsRouteName() { $route = new Route('/route/{id}'); self::assertEquals('ezpublish_rest_options_route_{id}', $this->mapper->getOptionsRouteName($route)); }