eZ\Publish\Core\REST\Server\Tests\Input\Parser\ContentTypeUpdateTest::testParseExceptionOnInvalidDescriptions PHP Method

testParseExceptionOnInvalidDescriptions() public method

Test ContentTypeUpdate parser throwing exception on invalid descriptions.
    public function testParseExceptionOnInvalidDescriptions()
    {
        $inputArray = $this->getInputArray();
        unset($inputArray['descriptions']['value']);
        $contentTypeUpdate = $this->getParser();
        $contentTypeUpdate->parse($inputArray, $this->getParsingDispatcherMock());
    }