Class DefaultCommerceConsentServiceIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.commerceservices.consent.impl.DefaultCommerceConsentServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultCommerceConsentServiceIntegrationTest extends ServicelayerTest
JUnit test suite forDefaultCommerceConsentService
-
-
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 DefaultCommerceConsentServiceIntegrationTest()
-
Method Summary
-
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
-
testGetConsentTemplates
public void testGetConsentTemplates()
-
testGetConsentTemplatesWhenNoConsentAvailableForSite
public void testGetConsentTemplatesWhenNoConsentAvailableForSite()
-
testGetConsentTemplatesWhenWrongSiteProvided
public void testGetConsentTemplatesWhenWrongSiteProvided()
-
testGetConsentTemplateForExistingConsentTemplate
public void testGetConsentTemplateForExistingConsentTemplate()
-
testGetConsentTemplateForNonExistingConsentTemplateBecauseOfWrongVersion
public void testGetConsentTemplateForNonExistingConsentTemplateBecauseOfWrongVersion()
-
testGetConsentTemplateForNonExistingConsentTemplate
public void testGetConsentTemplateForNonExistingConsentTemplate()
-
testGetLatestConsentTemplateForExistingConsentTemplate
public void testGetLatestConsentTemplateForExistingConsentTemplate()
-
testGetLatestConsentTemplateForNonExistingConsentTemplate
public void testGetLatestConsentTemplateForNonExistingConsentTemplate()
-
testGetConsentReturnsCorrectConsent
public void testGetConsentReturnsCorrectConsent()
-
testGetConsentThrowsExceptionWhenNoConsentFound
public void testGetConsentThrowsExceptionWhenNoConsentFound()
-
testGetActiveConsentReturnsTheLatestGivenConsent
public void testGetActiveConsentReturnsTheLatestGivenConsent()
-
testGetActiveConsentWhenNoConsentExists
public void testGetActiveConsentWhenNoConsentExists()
-
testGiveConsentWhenNoConsentExists
public void testGiveConsentWhenNoConsentExists()
-
testGiveConsentWhenConsentGivenAlready
public void testGiveConsentWhenConsentGivenAlready()
-
testGiveConsentWhenConsentAvailableButWithdraw
public void testGiveConsentWhenConsentAvailableButWithdraw()
-
testWithdrawConsentWhenWithdrawnAlready
public void testWithdrawConsentWhenWithdrawnAlready()
-
testWithdrawConsentWhenConsentWasNotWithdrawnYet
public void testWithdrawConsentWhenConsentWasNotWithdrawnYet()
-
testWithdrawConsentWhenConsentNotAssociatedWithUser
public void testWithdrawConsentWhenConsentNotAssociatedWithUser()
-
testUserDoesntHaveEffectivelyActiveConsentWhenNoConsentExists
public void testUserDoesntHaveEffectivelyActiveConsentWhenNoConsentExists()
-
testUserHasEffectivelyActiveConsentWhenConsentWasNotWithdrawnYet
public void testUserHasEffectivelyActiveConsentWhenConsentWasNotWithdrawnYet()
-
testUserDoesntHaveEffectivelyActiveConsentWhenConsentWasWithdrawn
public void testUserDoesntHaveEffectivelyActiveConsentWhenConsentWasWithdrawn()
-
-