@UnitTest public class DefaultCMSItemFacadeTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultCMSItemFacadeTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
shouldCreateItem() |
void |
shouldDeleteValidUid() |
void |
shouldFailCreateItemInsufficientTypePermission() |
void |
shouldFailDeleteItemInsufficientTypePermission() |
void |
shouldFailFindByIdInsufficientTypePermission() |
void |
shouldFailFindByIdInvalidUid() |
void |
shouldFailUpdateItemInsufficientTypePermission() |
void |
shouldFailUpdateWhenItemHasInconsistentValue() |
void |
shouldFailUpdateWhenUuidIsInvalid() |
void |
shouldFindByIdValidUid() |
void |
shouldSearchForItems() |
void |
shouldTransformValidationExceptionWithNoQualifier() |
void |
shouldTransformValidationExceptionWithOneQualifier() |
void |
shouldTransformValidationExceptionWithTwoQualifiers() |
void |
shouldUpdateItem() |
void |
shouldValidateItemForCreateAndRollbackTransaction() |
void |
shouldValidateItemForUpdateAndRollbackTransaction() |
public void setup()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailFindByIdInvalidUid()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailFindByIdInsufficientTypePermission()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFindByIdValidUid()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldDeleteValidUid()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailDeleteItemInsufficientTypePermission()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldCreateItem()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailCreateItemInsufficientTypePermission()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldValidateItemForCreateAndRollbackTransaction()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailUpdateWhenUuidIsInvalid()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailUpdateWhenItemHasInconsistentValue()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldUpdateItem()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailUpdateItemInsufficientTypePermission()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldValidateItemForUpdateAndRollbackTransaction()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldSearchForItems()
public void shouldTransformValidationExceptionWithNoQualifier()
public void shouldTransformValidationExceptionWithOneQualifier()
public void shouldTransformValidationExceptionWithTwoQualifiers()
Copyright © 2018 SAP SE. All Rights Reserved.