eZ\Publish\Core\REST\Server\Tests\Input\Parser\UserUpdateTest::testParseExceptionOnMissingFieldValue PHP Method

testParseExceptionOnMissingFieldValue() public method

Test UserUpdate parser throwing exception on missing field value.
    public function testParseExceptionOnMissingFieldValue()
    {
        $inputArray = array('mainLanguageCode' => 'eng-US', 'Section' => array('_href' => '/content/sections/1'), 'remoteId' => 'remoteId123456', 'fields' => array('field' => array(array('fieldDefinitionIdentifier' => 'first_name'))), 'email' => '[email protected]', 'password' => 'somePassword', 'enabled' => 'true', '__url' => '/user/users/14');
        $userUpdate = $this->getParser();
        $userUpdate->parse($inputArray, $this->getParsingDispatcherMock());
    }