Class DefaultCommerceConsentServiceIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultCommerceConsentServiceIntegrationTest extends ServicelayerTest
JUnit test suite for DefaultCommerceConsentService
  • Constructor Details

    • DefaultCommerceConsentServiceIntegrationTest

      public DefaultCommerceConsentServiceIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      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()