Class PrincipalAllSearchRestrictionsAttributeHandlerTest
java.lang.Object
de.hybris.platform.servicelayer.security.dynamic.PrincipalAllSearchRestrictionsAttributeHandlerTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
PrincipalAllSearchRestrictionsAttributeHandlerTest
public PrincipalAllSearchRestrictionsAttributeHandlerTest()
-
-
Method Details
-
shouldReturnEmptyCollectionIfPrincipalDoesNotHaveRestrictionsAndZeroGroups
public void shouldReturnEmptyCollectionIfPrincipalDoesNotHaveRestrictionsAndZeroGroups() throws Exception- Throws:
Exception
-
shouldReturnEmptyCollectionIfPrincipalHasNullRestrictionsAndZeroGroups
public void shouldReturnEmptyCollectionIfPrincipalHasNullRestrictionsAndZeroGroups() throws Exception- Throws:
Exception
-
shouldReturnEmptyCollectionIfPrincipalHasEmptyRestrictionsAndNullGroups
public void shouldReturnEmptyCollectionIfPrincipalHasEmptyRestrictionsAndNullGroups() throws Exception- Throws:
Exception
-
shouldReturnOnlyPrincipalRestrictionsIfPrincipalHasRestrictionsButEmptyGroups
public void shouldReturnOnlyPrincipalRestrictionsIfPrincipalHasRestrictionsButEmptyGroups() throws Exception- Throws:
Exception
-
shouldCombineRestrictionsFromPrincipalAndItsGroups
- Throws:
Exception
-
shouldCombineRestrictionsFromPrincipalAndItsGroupsEvenIfOneOfGroupsReturnsNullRestrictions
public void shouldCombineRestrictionsFromPrincipalAndItsGroupsEvenIfOneOfGroupsReturnsNullRestrictions() throws Exception- Throws:
Exception
-