eZ\Publish\Core\REST\Server\Tests\Input\Parser\UserGroupUpdateTest::testParseExceptionOnMissingFieldDefinitionIdentifier PHP Method

testParseExceptionOnMissingFieldDefinitionIdentifier() public method

Test UserGroupUpdate parser throwing exception on missing field definition identifier.
    public function testParseExceptionOnMissingFieldDefinitionIdentifier()
    {
        $inputArray = array('mainLanguageCode' => 'eng-US', 'Section' => array('_href' => '/content/sections/1'), 'remoteId' => 'remoteId123456', 'fields' => array('field' => array(array('fieldValue' => array()))), '__url' => '/user/groups/1/5');
        $userGroupUpdate = $this->getParser();
        $userGroupUpdate->parse($inputArray, $this->getParsingDispatcherMock());
    }