Class DefaultCommerceConsentServiceTest
java.lang.Object
de.hybris.platform.commerceservices.consent.impl.DefaultCommerceConsentServiceTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
currentTime
-
consentTemplateId
- See Also:
-
consentTemplateVersion
-
-
Constructor Details
-
DefaultCommerceConsentServiceTest
public DefaultCommerceConsentServiceTest()
-
-
Method Details
-
setup
public void setup() -
testGetConsentTemplateWhenCosentTemplateIdNull
public void testGetConsentTemplateWhenCosentTemplateIdNull() -
testGetConsentTemplateWhenCosentTemplateVersionNull
public void testGetConsentTemplateWhenCosentTemplateVersionNull() -
testGetConsentTemplateWhenBaseSiteNull
public void testGetConsentTemplateWhenBaseSiteNull() -
testGetConsentTemplateWhenConsentTemplateDoesNotExist
public void testGetConsentTemplateWhenConsentTemplateDoesNotExist() -
testGetConsentTemplateWhenConsentTemplateExists
public void testGetConsentTemplateWhenConsentTemplateExists() -
testGetConsentTemplateWhenConsentTemplateIdIsNull
public void testGetConsentTemplateWhenConsentTemplateIdIsNull() -
testGetConsentTemplateWhenBaseSiteIsNull
public void testGetConsentTemplateWhenBaseSiteIsNull() -
testGetLatestConsentTemplateWhenConsentTemplateIdAndBaseSiteProvided
public void testGetLatestConsentTemplateWhenConsentTemplateIdAndBaseSiteProvided() -
testGetConsentTemplatesWhenBaseSiteIsNull
public void testGetConsentTemplatesWhenBaseSiteIsNull() -
testGetConsentTemplates
public void testGetConsentTemplates() -
testGetActiveConsentByCustomer
public void testGetActiveConsentByCustomer() -
testGiveConsentWhenCustomerIsNull
public void testGiveConsentWhenCustomerIsNull() -
testGiveConsentWhenConsentTemplateIsNull
public void testGiveConsentWhenConsentTemplateIsNull() -
testGiveConsentWhenNoActiveConsents
public void testGiveConsentWhenNoActiveConsents() -
testGiveConsentWhenConsentPreviouslyWithdrawn
public void testGiveConsentWhenConsentPreviouslyWithdrawn() -
testGiveConsentWhenConsentAlreadyGiven
public void testGiveConsentWhenConsentAlreadyGiven() -
testWithdrawConsentWhenConsentTemplateIsNull
public void testWithdrawConsentWhenConsentTemplateIsNull() -
testWithdrawConsentWhenConsentAlreadyWithdrawn
public void testWithdrawConsentWhenConsentAlreadyWithdrawn() -
testWithdrawConsentWhenConsentAvailableAndNotWithdrawnYet
public void testWithdrawConsentWhenConsentAvailableAndNotWithdrawnYet() -
testWithdrawConsentWhenConsentIsNotAssociatedWithUser
public void testWithdrawConsentWhenConsentIsNotAssociatedWithUser()
-