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

testParseExceptionOnMissingParentLocation() public method

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