eZ\Publish\Core\REST\Server\Tests\Input\Parser\LocationCreateTest::testParseExceptionOnMissingHrefAttribute PHP Method

testParseExceptionOnMissingHrefAttribute() public method

Test LocationCreate parser throwing exception on missing _href attribute for ParentLocation.
    public function testParseExceptionOnMissingHrefAttribute()
    {
        $inputArray = array('ParentLocation' => array(), 'priority' => '0', 'hidden' => 'false', 'remoteId' => 'remoteId12345678', 'sortField' => 'PATH', 'sortOrder' => 'ASC');
        $locationCreate = $this->getParser();
        $locationCreate->parse($inputArray, $this->getParsingDispatcherMock());
    }