public function getViewConfigurationFindsMatchingConfigurationForRequest()
{
$matchingConfiguration = ['requestFilter' => 'isPackage("Neos.Flow")', 'options' => 'a value'];
$notMatchingConfiguration = ['requestFilter' => 'isPackage("Vendor.Package")', 'options' => 'another value'];
$viewConfigurations = [$notMatchingConfiguration, $matchingConfiguration];
$this->mockConfigurationManager->expects($this->any())->method('getConfiguration')->with('Views')->will($this->returnValue($viewConfigurations));
$calculatedConfiguration = $this->viewConfigurationManager->getViewConfiguration($this->mockActionRequest);
$this->assertEquals($calculatedConfiguration, $matchingConfiguration);
}