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

testParseExceptionOnMissingLimitationIdentifier() public method

Test PolicyUpdate parser throwing exception on missing identifier.
    public function testParseExceptionOnMissingLimitationIdentifier()
    {
        $inputArray = array('limitations' => array('limitation' => array(array('values' => array('ref' => array(array('_href' => 1), array('_href' => 2), array('_href' => 3)))))));
        $policyUpdate = $this->getParser();
        $policyUpdate->parse($inputArray, $this->getParsingDispatcherMock());
    }