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
@IntegrationTest public class DefaultConsentTemplateDaoIntegrationTest extends ServicelayerTest
JUnit test suite forDefaultCommerceQuoteDao
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultConsentTemplateDaoIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldFindConsentTemplateByIdAndVersionAndSite()voidshouldFindLatestConsentTemplateByIdAndSite()voidshouldFindLatestConsentTemplateForEachIdAndSite()voidshouldNotFindConsentTemplateByWrongId()voidshouldNotFindConsentTemplateByWrongSite()voidshouldReturnEmptyListWhenNoConsentTemplatesFound()voidshouldThrowExceptionWhenNoConsentTemplateFound()voidshouldThrowExceptionWhenNoConsentTemplateFoundForGivenIDVersionAndSite()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.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()
-
-