Метод | Описание | |
---|---|---|
getParseHrefExpectationsMap ( ) | ||
testParse ( ) | Tests the UserCreate parser. | |
testParseExceptionOnInvalidContentType ( ) | Test UserCreate parser throwing exception on invalid ContentType. | |
testParseExceptionOnInvalidFieldDefinitionIdentifier ( ) | Test UserCreate parser throwing exception on invalid field definition identifier. | |
testParseExceptionOnInvalidFields ( ) | Test UserCreate parser throwing exception on invalid fields data. | |
testParseExceptionOnInvalidSection ( ) | Test UserCreate parser throwing exception on invalid Section. | |
testParseExceptionOnMissingEmail ( ) | Test UserCreate parser throwing exception on missing email. | |
testParseExceptionOnMissingFieldDefinitionIdentifier ( ) | Test UserCreate parser throwing exception on missing field definition identifier. | |
testParseExceptionOnMissingFieldValue ( ) | Test UserCreate parser throwing exception on missing field value. | |
testParseExceptionOnMissingLogin ( ) | Test UserCreate parser throwing exception on missing login. | |
testParseExceptionOnMissingMainLanguageCode ( ) | Test UserCreate parser throwing exception on missing mainLanguageCode. | |
testParseExceptionOnMissingPassword ( ) | Test UserCreate parser throwing exception on missing password. |
Метод | Описание | |
---|---|---|
getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType | Get the content type used in UserCreate parser. | |
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService | Get the content type service mock object. | |
getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService | Get the user service mock object. | |
internalGetParser ( ) : eZ\Publish\Core\REST\Server\Input\Parser\UserCreate | Returns the UserCreate parser. |
Метод | Описание | |
---|---|---|
getFieldTypeParserMock ( ) : eZ\Publish\Core\REST\Common\Input\FieldTypeParser; | Get the field type parser mock object. |
protected getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType | ||
Результат | eZ\Publish\API\Repository\Values\ContentType\ContentType |
protected getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService | ||
Результат | eZ\Publish\API\Repository\ContentTypeService |
protected getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService | ||
Результат | eZ\Publish\API\Repository\UserService |
protected internalGetParser ( ) : eZ\Publish\Core\REST\Server\Input\Parser\UserCreate | ||
Результат | eZ\Publish\Core\REST\Server\Input\Parser\UserCreate |
public testParseExceptionOnInvalidContentType ( ) |
public testParseExceptionOnInvalidFields ( ) |
public testParseExceptionOnInvalidSection ( ) |
public testParseExceptionOnMissingEmail ( ) |
public testParseExceptionOnMissingFieldValue ( ) |
public testParseExceptionOnMissingLogin ( ) |
public testParseExceptionOnMissingMainLanguageCode ( ) |
public testParseExceptionOnMissingPassword ( ) |