Class DefaultConsentFacadeTest
- java.lang.Object
-
- de.hybris.platform.commercefacades.consent.impl.DefaultConsentFacadeTest
-
@UnitTest public class DefaultConsentFacadeTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringconsentId1
-
Constructor Summary
Constructors Constructor Description DefaultConsentFacadeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestGetConsent()voidtestGetUserConsents()voidtestGiveConsent()voidtestShouldNotGetConsentIfConsentTemplateIdIsNull()voidtestShouldNotGiveConsentIfConsentTemplateIdIsNull()voidtestShouldNotGiveConsentIfConsentTemplateVersionIsNull()voidtestShouldNotWithdrawConsentIfConsentCodeIsNull()voidtestWithdrawConsent()
-
-
-
Field Detail
-
consentId1
public static final java.lang.String consentId1
- See Also:
- Constant Field Values
-
-
Method Detail
-
setup
public void setup()
-
testGetConsent
public void testGetConsent()
-
testShouldNotGetConsentIfConsentTemplateIdIsNull
public void testShouldNotGetConsentIfConsentTemplateIdIsNull()
-
testGetUserConsents
public void testGetUserConsents()
-
testGiveConsent
public void testGiveConsent()
-
testShouldNotGiveConsentIfConsentTemplateIdIsNull
public void testShouldNotGiveConsentIfConsentTemplateIdIsNull()
-
testShouldNotGiveConsentIfConsentTemplateVersionIsNull
public void testShouldNotGiveConsentIfConsentTemplateVersionIsNull()
-
testWithdrawConsent
public void testWithdrawConsent()
-
testShouldNotWithdrawConsentIfConsentCodeIsNull
public void testShouldNotWithdrawConsentIfConsentCodeIsNull()
-
-