eZ\Bundle\EzPublishRestBundle\Tests\Routing\OptionsLoader\MapperTest::testGetOptionsRouteName PHP Method

testGetOptionsRouteName() public method

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