Neos\Flow\Tests\Unit\Mvc\Routing\DynamicRoutePartTest::dynamicRoutePartDoesNotChangeCaseOfValueIfLowerCaseIsFale PHP 메소드

dynamicRoutePartDoesNotChangeCaseOfValueIfLowerCaseIsFale() 공개 메소드

    public function dynamicRoutePartDoesNotChangeCaseOfValueIfLowerCaseIsFale()
    {
        $this->dynamicRoutPart->setName('Foo');
        $this->dynamicRoutPart->setLowerCase(false);
        $routeValues = ['Foo' => 'Bar'];
        $this->assertTrue($this->dynamicRoutPart->resolve($routeValues));
        $this->assertEquals('Bar', $this->dynamicRoutPart->getValue(), 'Dynamic Route Part should not change the case of the value if lowerCase is false.');
    }
DynamicRoutePartTest