Neos\Flow\Tests\Unit\Mvc\Routing\RouteTest::routeCantBeResolvedIfASpecifiedValueIsNotEqualToItsDefaultValue PHP Method

routeCantBeResolvedIfASpecifiedValueIsNotEqualToItsDefaultValue() public method

    public function routeCantBeResolvedIfASpecifiedValueIsNotEqualToItsDefaultValue()
    {
        $this->route->setUriPattern('{key1}');
        $this->route->setDefaults(['key1' => 'value1', 'key2' => 'value2']);
        $this->routeValues = ['key2' => 'differentValue'];
        $this->assertFalse($this->route->resolves($this->routeValues));
    }
RouteTest