Neos\Flow\Tests\Unit\Mvc\Routing\StaticRoutePartTest::staticRoutePartDoesNotAlterRouteValuesWhenCallingResolve PHP Method

staticRoutePartDoesNotAlterRouteValuesWhenCallingResolve() public method

    public function staticRoutePartDoesNotAlterRouteValuesWhenCallingResolve()
    {
        $routePart = new Mvc\Routing\StaticRoutePart();
        $routePart->setName('foo');
        $routeValues = ['@controller' => 'foo', '@action' => 'bar'];
        $this->assertTrue($routePart->resolve($routeValues));
        $this->assertEquals(['@controller' => 'foo', '@action' => 'bar'], $routeValues, 'when resolve() is called on Static Route Part, specified routeValues-array should never be changed');
    }