@UnitTest public class DefaultConsentServiceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultConsentServiceTest() |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void assertWhenProfileAnonymousUserConsentIsNullShouldReturnFalse()
throws java.lang.Exception
java.lang.Exceptionpublic void assertWhenProfileAnonymousUserConsentIsWithdrawnShouldReturnFalse()
throws java.lang.Exception
java.lang.Exceptionpublic void assertWhenProfileAnonymousUserConsentIsGivenShouldReturnTrue()
throws java.lang.Exception
java.lang.Exceptionpublic void assertWhenProfileLoggedInUserConsentIsNullShouldReturnFalse()
throws java.lang.Exception
java.lang.Exceptionpublic void assertWhenProfileLoggedInUserConsentIsWithdrawnShouldReturnFalse()
throws java.lang.Exception
java.lang.Exceptionpublic void assertWhenProfileLoggedInUserConsentIsGivenShouldReturnTrue()
throws java.lang.Exception
java.lang.Exceptionpublic void getConsentReferenceIdWhenClientReturnValidConsentResponse()
public void assertErrorWhenClientReturnException()
public void verifyGenerateConsentReferenceWhenNoCookieIsDefined()
public void verifyDoNotGenerateConsentReferenceWhenCookieIsDefined()
public void verifyDoNotSetInvalidConsentReferenceInCookie()
public void verifyDoNotRequestConsentReferenceWithInvalidYaaSConfiguration()
Copyright © 2018 SAP SE. All Rights Reserved.