Class DefaultCMSAdminTypeRestrictionsServiceTest
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.services.admin.impl.DefaultCMSAdminTypeRestrictionsServiceTest
-
@UnitTest public class DefaultCMSAdminTypeRestrictionsServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSAdminTypeRestrictionsServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldFailGetTypeRestrictions_MultipleContentSlotForPage()voidshouldFailGetTypeRestrictions_NoContentSlotForNameInTemplate()voidshouldFailGetTypeRestrictions_NoContentSlotForPage()voidshouldGetNoTypeRestrictions_NoneFound()voidshouldGetTypeRestrictions_CompTypeGroupAndValidComponentTypes()voidshouldGetTypeRestrictions_CompTypeGroupOnly()voidshouldGetTypeRestrictions_ValidComponentTypesOnly()
-
-
-
Method Detail
-
setUp
public void setUp()
-
shouldFailGetTypeRestrictions_NoContentSlotForPage
public void shouldFailGetTypeRestrictions_NoContentSlotForPage() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldFailGetTypeRestrictions_MultipleContentSlotForPage
public void shouldFailGetTypeRestrictions_MultipleContentSlotForPage() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldFailGetTypeRestrictions_NoContentSlotForNameInTemplate
public void shouldFailGetTypeRestrictions_NoContentSlotForNameInTemplate() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldGetNoTypeRestrictions_NoneFound
public void shouldGetNoTypeRestrictions_NoneFound() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldGetTypeRestrictions_CompTypeGroupOnly
public void shouldGetTypeRestrictions_CompTypeGroupOnly() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldGetTypeRestrictions_ValidComponentTypesOnly
public void shouldGetTypeRestrictions_ValidComponentTypesOnly() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldGetTypeRestrictions_CompTypeGroupAndValidComponentTypes
public void shouldGetTypeRestrictions_CompTypeGroupAndValidComponentTypes() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
-