Neos\Flow\Tests\Unit\Mvc\Controller\MvcPropertyMappingConfigurationServiceTest::initializePropertyMappingConfigurationDoesNothingIfTrustedPropertiesAreNotSet PHP Method

initializePropertyMappingConfigurationDoesNothingIfTrustedPropertiesAreNotSet() public method

    public function initializePropertyMappingConfigurationDoesNothingIfTrustedPropertiesAreNotSet()
    {
        $request = $this->getMockBuilder(Mvc\ActionRequest::class)->setMethods(['getInternalArgument'])->disableOriginalConstructor()->getMock();
        $request->expects($this->any())->method('getInternalArgument')->with('__trustedProperties')->will($this->returnValue(null));
        $arguments = new Mvc\Controller\Arguments();
        $requestHashService = new Mvc\Controller\MvcPropertyMappingConfigurationService();
        $requestHashService->initializePropertyMappingConfigurationFromRequest($request, $arguments);
        // dummy assertion to avoid PHPUnit warning
        $this->assertTrue(true);
    }