eZ\Publish\Core\REST\Server\Tests\Input\Parser\RelationCreateTest::testParseExceptionOnMissingDestinationHref PHP Method

testParseExceptionOnMissingDestinationHref() public method

Test RelationCreate parser throwing exception on missing Destination href.
    public function testParseExceptionOnMissingDestinationHref()
    {
        $inputArray = array('Destination' => array());
        $relationCreate = $this->getParser();
        $relationCreate->parse($inputArray, $this->getParsingDispatcherMock());
    }