eZ\Publish\Core\REST\Server\Tests\Input\Parser\ContentTypeCreateTest::testParseExceptionOnInvalidFieldDefinitions PHP Method

testParseExceptionOnInvalidFieldDefinitions() public method

Test ContentTypeCreate parser throwing exception on invalid FieldDefinitions.
    public function testParseExceptionOnInvalidFieldDefinitions()
    {
        $inputArray = $this->getInputArray();
        unset($inputArray['FieldDefinitions']['FieldDefinition']);
        $contentTypeCreate = $this->getParser();
        $contentTypeCreate->parse($inputArray, $this->getParsingDispatcherMock());
    }