Class MarkerBasedDetectionTest

java.lang.Object
de.hybris.platform.servicelayer.web.session.stale.impl.MarkerBasedDetectionTest

@UnitTest public class MarkerBasedDetectionTest extends Object
  • Constructor Details

    • MarkerBasedDetectionTest

      public MarkerBasedDetectionTest()
  • Method Details

    • shouldNotModifyMarkerForAnonymousSessionWhenMarkerWasNotSet

      public void shouldNotModifyMarkerForAnonymousSessionWhenMarkerWasNotSet()
    • shouldClearMarkerForAnonymousSessionWhenMarkerWasSet

      public void shouldClearMarkerForAnonymousSessionWhenMarkerWasSet()
    • shouldClearMarkerForNotAnonymousSessionAfterUserChangedToAnonymous

      public void shouldClearMarkerForNotAnonymousSessionAfterUserChangedToAnonymous()
    • shouldSetMarkerForNotAnonymousSessionAfterSessionChanged

      public void shouldSetMarkerForNotAnonymousSessionAfterSessionChanged()
    • shouldSetMarkerForNotAnonymousSessionAfterUserChangedToOtherNotAnonymousUser

      public void shouldSetMarkerForNotAnonymousSessionAfterUserChangedToOtherNotAnonymousUser()
    • shouldTreatExistingSessionAsNotStaleAndRestoreMarker

      public void shouldTreatExistingSessionAsNotStaleAndRestoreMarker()
    • shouldDetectStaleSessionAndRestoreMarkerWhenMarkerDoesNotMatch

      public void shouldDetectStaleSessionAndRestoreMarkerWhenMarkerDoesNotMatch()
    • shouldResetMarkerWhenPasswordChangedForTheSameUser

      public void shouldResetMarkerWhenPasswordChangedForTheSameUser()
    • shouldNotResetMarkerWhenPasswordChangedForDifferentUser

      public void shouldNotResetMarkerWhenPasswordChangedForDifferentUser()
    • shouldSetMarkerForNullPassword

      public void shouldSetMarkerForNullPassword()
    • shouldTreatNullPasswordAndExistingMarkerAsStaleSession

      public void shouldTreatNullPasswordAndExistingMarkerAsStaleSession()