Class DefaultRestrictionContextProviderTest
java.lang.Object
de.hybris.platform.cmsfacades.rendering.impl.DefaultRestrictionContextProviderTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidprotected voidvoid
-
Constructor Details
-
DefaultRestrictionContextProviderTest
public DefaultRestrictionContextProviderTest()
-
-
Method Details
-
givenNoRestrictionInSession_WhenGetIsCalled_ThenItReturnsNull
public void givenNoRestrictionInSession_WhenGetIsCalled_ThenItReturnsNull() -
givenRestrictionInSession_WhenGetIsCalled_ThenItReturnsTheRestriction
public void givenRestrictionInSession_WhenGetIsCalled_ThenItReturnsTheRestriction() -
givenNoRestrictionInSession_WhenSetMethodCalled_ThenItSetsARestrictionInTheSession
public void givenNoRestrictionInSession_WhenSetMethodCalled_ThenItSetsARestrictionInTheSession() -
givenRestrictionInSession_WhenSetMethodCalled_ThenItOverridesRestrictionInTheSession
public void givenRestrictionInSession_WhenSetMethodCalled_ThenItOverridesRestrictionInTheSession() -
WhenRemoveIsCalled_ThenItRemovesRestriction
public void WhenRemoveIsCalled_ThenItRemovesRestriction() -
setValueInSession
-