Neos\Flow\Tests\Functional\Mvc\ActionControllerTest::objectArgumentsAreValidatedByDefault PHP Метод

objectArgumentsAreValidatedByDefault() публичный Метод

    public function objectArgumentsAreValidatedByDefault()
    {
        $arguments = ['argument' => ['name' => 'Foo', 'emailAddress' => '-invalid-']];
        $response = $this->browser->request('http://localhost/test/mvc/actioncontrollertestb/requiredobject', 'POST', $arguments);
        $expectedResult = 'Validation failed while trying to call Neos\\Flow\\Tests\\Functional\\Mvc\\Fixtures\\Controller\\ActionControllerTestBController->requiredObjectAction().' . PHP_EOL;
        $this->assertEquals($expectedResult, $response->getContent());
    }