Class DefaultSearchRestrictionServiceTest
- java.lang.Object
-
- de.hybris.platform.search.restriction.impl.DefaultSearchRestrictionServiceTest
-
@UnitTest public class DefaultSearchRestrictionServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultSearchRestrictionServiceTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAddSessionSearchRestrictions
public void testAddSessionSearchRestrictions()
Test method forDefaultSearchRestrictionService.addSessionSearchRestrictions(java.util.Collection)Checks for setting restrictions collection when there was no restrictions in the session at all.
-
testAddSessionSearchRestrictionsEmptyCollectionInitial
public void testAddSessionSearchRestrictionsEmptyCollectionInitial()
Test method forDefaultSearchRestrictionService.addSessionSearchRestrictions(java.util.Collection)Checks for setting empty restrictions collection when there was no restrictions in the session at all.
-
testAddSessionSearchRestrictionsWithNullParameter
public void testAddSessionSearchRestrictionsWithNullParameter()
-
testClearSessionSearchRestrictions
public void testClearSessionSearchRestrictions()
Test method forDefaultSearchRestrictionService.clearSessionSearchRestrictions().
-
testDisableSearchRestrictions
public void testDisableSearchRestrictions()
Test method forDefaultSearchRestrictionService.disableSearchRestrictions().
-
testEnableSearchRestrictions
public void testEnableSearchRestrictions()
Test method forDefaultSearchRestrictionService.enableSearchRestrictions().
-
testGetSessionSearchRestrictions
public void testGetSessionSearchRestrictions()
Test method forDefaultSearchRestrictionService.getSessionSearchRestrictions()Test getting sessions search restrictions when currently there are some restrictions in the session.
-
testHasRestrictions
public void testHasRestrictions()
-
testGetSessionSearchRestrictionsForType
public void testGetSessionSearchRestrictionsForType()
-
testGetSessionSearchRestrictionsInitial
public void testGetSessionSearchRestrictionsInitial()
Test method forDefaultSearchRestrictionService.getSessionSearchRestrictions()Test getting sessions search restrictions when currently there is no sessions search restrictions at all.
-
testIsSearchRestrictionsEnabled
public void testIsSearchRestrictionsEnabled()
-
testRemoveSessionSearchRestrictions
public void testRemoveSessionSearchRestrictions()
-
-