Class OCCConsentLayerFilterTest

java.lang.Object
com.hybris.yprofile.consent.filters.OCCConsentLayerFilterTest

@UnitTest public class OCCConsentLayerFilterTest extends Object
  • Field Details

  • Constructor Details

    • OCCConsentLayerFilterTest

      public OCCConsentLayerFilterTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • releaseMocks

      public void releaseMocks() throws Exception
      Throws:
      Exception
    • shouldTrackWhenProfileTrackingConsentIsGiven

      public void shouldTrackWhenProfileTrackingConsentIsGiven() throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • shouldTrackWhenProfileTrackingConsentIsGivenForAnonymousUser

      public void shouldTrackWhenProfileTrackingConsentIsGivenForAnonymousUser() throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • shouldNotTrackWhenProfileTrackingConsentIsWithdrawnAndRemoveCookie

      public void shouldNotTrackWhenProfileTrackingConsentIsWithdrawnAndRemoveCookie() throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • shouldNotTrackWhenAccountIsDeactivated

      public void shouldNotTrackWhenAccountIsDeactivated() throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException