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

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

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