eZ\Publish\Core\REST\Server\Tests\Input\Parser\PolicyCreateTest::testParseExceptionOnMissingModule PHP Method

testParseExceptionOnMissingModule() public method

Test PolicyCreate parser throwing exception on missing module.
    public function testParseExceptionOnMissingModule()
    {
        $inputArray = array('function' => 'delete', 'limitations' => array('limitation' => array(array('_identifier' => 'Class', 'values' => array('ref' => array(array('_href' => 1), array('_href' => 2), array('_href' => 3)))))));
        $policyCreate = $this->getParser();
        $policyCreate->parse($inputArray, $this->getParsingDispatcherMock());
    }