@UnitTest public class DefaultComponentRenderingServiceTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CATALOG_CODE |
static java.lang.String |
CATEGORY_CODE |
static java.lang.String |
COMPONENT_UID |
static java.lang.String |
PRODUCT_CODE |
| Constructor and Description |
|---|
DefaultComponentRenderingServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldFailGetComponentByIdWithNotFoundError() |
void |
shouldFailGetComponentByIdWithValidationError() |
void |
shouldFailGetComponentsByIdsWithValidationError() |
void |
shouldGetComponentById() |
void |
shouldGetComponentData() |
void |
shouldGetComponentsByIds() |
void |
shouldGetEmptyComponentDataWhenComponentIsNotVisible() |
void |
shouldGetZeroComponentsByIdsWhenItemsNotFound() |
public static final java.lang.String COMPONENT_UID
public static final java.lang.String CATALOG_CODE
public static final java.lang.String CATEGORY_CODE
public static final java.lang.String PRODUCT_CODE
public DefaultComponentRenderingServiceTest()
public void setUp()
public void shouldFailGetComponentByIdWithValidationError()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailGetComponentByIdWithNotFoundError()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldGetComponentById()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldGetComponentData()
public void shouldGetEmptyComponentDataWhenComponentIsNotVisible()
public void shouldFailGetComponentsByIdsWithValidationError()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldGetZeroComponentsByIdsWhenItemsNotFound()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldGetComponentsByIds()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionCopyright © 2018 SAP SE. All Rights Reserved.