Class DefaultCMSTypeRestrictionDaoTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.servicelayer.ServicelayerTransactionalTest
de.hybris.platform.cms2.servicelayer.daos.impl.DefaultCMSTypeRestrictionDaoTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class DefaultCMSTypeRestrictionDaoTest
extends ServicelayerTransactionalTest
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PageTemplateModelgetTemplateById(String templateId) voidvoidvoidsetUp()voidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
DefaultCMSTypeRestrictionDaoTest
public DefaultCMSTypeRestrictionDaoTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldFindTypeRestrictionsForPageTemplate
public void shouldFindTypeRestrictionsForPageTemplate() -
givenRestrictionsAreAssignedToContentSlotName_shouldFindTypeRestrictionsForPageTemplate
public void givenRestrictionsAreAssignedToContentSlotName_shouldFindTypeRestrictionsForPageTemplate() -
givenRestrictionsAreAssignedToComponentTypeGroup_shouldFindTypeRestrictionsForPageTemplate
public void givenRestrictionsAreAssignedToComponentTypeGroup_shouldFindTypeRestrictionsForPageTemplate() -
getTemplateById
-