@IntegrationTest public class DefaultCommerceConsentServiceIntegrationTest extends ServicelayerTest
DefaultCommerceConsentServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
DefaultCommerceConsentServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testGetActiveConsentReturnsTheLatestGivenConsent() |
void |
testGetActiveConsentWhenNoConsentExists() |
void |
testGetConsentReturnsCorrectConsent() |
void |
testGetConsentTemplateForExistingConsentTemplate() |
void |
testGetConsentTemplateForNonExistingConsentTemplate() |
void |
testGetConsentTemplates() |
void |
testGetConsentTemplatesWhenNoConsentAvailableForSite() |
void |
testGetConsentTemplatesWhenWrongSiteProvided() |
void |
testGetConsentThrowsExceptionWhenNoConsentFound() |
void |
testGetLatestConsentTemplateForExistingConsentTemplate() |
void |
testGetLatestConsentTemplateForNonExistingConsentTemplate() |
void |
testGiveConsentWhenConsentAvailableButWithdraw() |
void |
testGiveConsentWhenConsentGivenAlready() |
void |
testGiveConsentWhenNoConsentExists() |
void |
testWithdrawConsentWhenConsentWasNotWithdrawnYet() |
void |
testWithdrawConsentWhenWithdrawnAlready() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic DefaultCommerceConsentServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetConsentTemplates()
public void testGetConsentTemplatesWhenNoConsentAvailableForSite()
public void testGetConsentTemplatesWhenWrongSiteProvided()
public void testGetConsentTemplateForExistingConsentTemplate()
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()
Copyright © 2017 SAP SE. All Rights Reserved.