eZ\Publish\Core\REST\Server\Tests\Input\Parser\UserGroupUpdateTest::testParseExceptionOnMissingSectionHref PHP Метод

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

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