Method | Description | |
---|---|---|
getParseHrefExpectationsMap ( ) | ||
testParse ( ) | Tests the ContentCreate parser. | |
testParseExceptionOnInvalidContentType ( ) | Test ContentCreate parser throwing exception on invalid ContentType. | |
testParseExceptionOnInvalidFieldDefinitionIdentifier ( ) | Test ContentCreate parser throwing exception on invalid field definition identifier. | |
testParseExceptionOnInvalidFields ( ) | Test ContentCreate parser throwing exception on invalid fields data. | |
testParseExceptionOnInvalidSection ( ) | Test ContentCreate parser throwing exception on invalid Section. | |
testParseExceptionOnInvalidUser ( ) | Test ContentCreate parser throwing exception on invalid User. | |
testParseExceptionOnMissingContentType ( ) | Test ContentCreate parser throwing exception on missing ContentType. | |
testParseExceptionOnMissingFieldDefinitionIdentifier ( ) | Test ContentCreate parser throwing exception on missing field definition identifier. | |
testParseExceptionOnMissingFieldValue ( ) | Test ContentCreate parser throwing exception on missing field value. | |
testParseExceptionOnMissingLocationCreate ( ) | Test ContentCreate parser throwing exception on missing LocationCreate. | |
testParseExceptionOnMissingMainLanguageCode ( ) | Test ContentCreate parser throwing exception on missing mainLanguageCode. |
Method | Description | |
---|---|---|
getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService | Get the content service mock object. | |
getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType | Get the content type used in ContentCreate parser. | |
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService | Get the content type service mock object. | |
internalGetParser ( ) : |
Returns the ContentCreate parser. |
Method | Description | |
---|---|---|
getFieldTypeParserMock ( ) : eZ\Publish\Core\REST\Common\Input\FieldTypeParser; | Get the field type parser mock object. | |
getLocationCreateParserMock ( ) : |
Returns the LocationCreate parser mock object. |
protected getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService | ||
return | eZ\Publish\API\Repository\ContentService |
protected getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType | ||
return | eZ\Publish\API\Repository\Values\ContentType\ContentType |
protected getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService | ||
return | eZ\Publish\API\Repository\ContentTypeService |
protected internalGetParser ( ) : |
||
return |
public testParseExceptionOnInvalidContentType ( ) |
public testParseExceptionOnInvalidFields ( ) |
public testParseExceptionOnInvalidSection ( ) |
public testParseExceptionOnInvalidUser ( ) |
public testParseExceptionOnMissingContentType ( ) |
public testParseExceptionOnMissingFieldValue ( ) |
public testParseExceptionOnMissingLocationCreate ( ) |
public testParseExceptionOnMissingMainLanguageCode ( ) |