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

testParseExceptionOnMissingSortOrder() public method

Test LocationCreate parser throwing exception on missing sort order.
    public function testParseExceptionOnMissingSortOrder()
    {
        $inputArray = array('ParentLocation' => array('_href' => '/content/locations/1/2/42'), 'priority' => '0', 'hidden' => 'false', 'remoteId' => 'remoteId12345678', 'sortField' => 'PATH');
        $locationCreate = $this->getParser();
        $locationCreate->parse($inputArray, $this->getParsingDispatcherMock());
    }