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

testParseExceptionOnMissingRole() public method

Test RoleAssignInput parser throwing exception on missing Role.
    public function testParseExceptionOnMissingRole()
    {
        $inputArray = array('limitation' => array('_identifier' => 'Section', '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());
    }