eZ\Publish\Core\REST\Server\Tests\Input\Parser\RoleAssignInputTest::testParseExceptionOnMissingLimitationIdentifier PHP Method

testParseExceptionOnMissingLimitationIdentifier() public method

Test Limitation parser throwing exception on missing identifier.
    public function testParseExceptionOnMissingLimitationIdentifier()
    {
        $inputArray = array('Role' => array('_href' => '/user/roles/42'), 'limitation' => array('values' => array('ref' => array(array('_href' => '/content/sections/1'), array('_href' => '/content/sections/2'), array('_href' => '/content/sections/3')))));
        $roleAssignInput = $this->getParser();
        $roleAssignInput->parse($inputArray, $this->getParsingDispatcherMock());
    }