@IntegrationTest public class DefaultCommerceConsentServiceIntegrationTest extends ServicelayerTest
DefaultCommerceConsentServiceimportServicejaloSession| Constructor and Description |
|---|
DefaultCommerceConsentServiceIntegrationTest() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultCommerceConsentServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetConsentTemplates()
public void testGetConsentTemplatesWhenNoConsentAvailableForSite()
public void testGetConsentTemplatesWhenWrongSiteProvided()
public void testGetConsentTemplateForExistingConsentTemplate()
public void testGetConsentTemplateForNonExistingConsentTemplateBecauseOfWrongVersion()
public void testGetConsentTemplateForNonExistingConsentTemplate()
public void testGetLatestConsentTemplateForExistingConsentTemplate()
public void testGetLatestConsentTemplateForNonExistingConsentTemplate()
public void testGetConsentReturnsCorrectConsent()
public void testGetConsentThrowsExceptionWhenNoConsentFound()
public void testGetActiveConsentReturnsTheLatestGivenConsent()
public void testGetActiveConsentWhenNoConsentExists()
public void testGiveConsentWhenNoConsentExists()
public void testGiveConsentWhenConsentGivenAlready()
public void testGiveConsentWhenConsentAvailableButWithdraw()
public void testWithdrawConsentWhenWithdrawnAlready()
public void testWithdrawConsentWhenConsentWasNotWithdrawnYet()
public void testWithdrawConsentWhenConsentNotAssociatedWithUser()
public void testUserDoesntHaveEffectivelyActiveConsentWhenNoConsentExists()
public void testUserHasEffectivelyActiveConsentWhenConsentWasNotWithdrawnYet()
public void testUserDoesntHaveEffectivelyActiveConsentWhenConsentWasWithdrawn()
Copyright © 2018 SAP SE. All Rights Reserved.