Class DefaultConsentTemplateDaoIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.commerceservices.consent.dao.impl.DefaultConsentTemplateDaoIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
JUnit test suite for
DefaultCommerceQuoteDao-
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
Methods 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
-
DefaultConsentTemplateDaoIntegrationTest
public DefaultConsentTemplateDaoIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldFindLatestConsentTemplateByIdAndSite
public void shouldFindLatestConsentTemplateByIdAndSite() -
shouldThrowExceptionWhenNoConsentTemplateFound
public void shouldThrowExceptionWhenNoConsentTemplateFound() -
shouldFindConsentTemplateByIdAndVersionAndSite
public void shouldFindConsentTemplateByIdAndVersionAndSite() -
shouldThrowExceptionWhenNoConsentTemplateFoundForGivenIDVersionAndSite
public void shouldThrowExceptionWhenNoConsentTemplateFoundForGivenIDVersionAndSite() -
shouldFindLatestConsentTemplateForEachIdAndSite
public void shouldFindLatestConsentTemplateForEachIdAndSite() -
shouldReturnEmptyListWhenNoConsentTemplatesFound
public void shouldReturnEmptyListWhenNoConsentTemplatesFound() -
shouldNotFindConsentTemplateByWrongId
public void shouldNotFindConsentTemplateByWrongId() -
shouldNotFindConsentTemplateByWrongSite
public void shouldNotFindConsentTemplateByWrongSite()
-