Class PrincipalAllSearchRestrictionsAttributeHandlerTest
- java.lang.Object
-
- de.hybris.platform.servicelayer.security.dynamic.PrincipalAllSearchRestrictionsAttributeHandlerTest
-
@UnitTest public class PrincipalAllSearchRestrictionsAttributeHandlerTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PrincipalAllSearchRestrictionsAttributeHandlerTest()
-
Method Summary
-
-
-
Method Detail
-
shouldReturnEmptyCollectionIfPrincipalDoesNotHaveRestrictionsAndZeroGroups
public void shouldReturnEmptyCollectionIfPrincipalDoesNotHaveRestrictionsAndZeroGroups() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnEmptyCollectionIfPrincipalHasNullRestrictionsAndZeroGroups
public void shouldReturnEmptyCollectionIfPrincipalHasNullRestrictionsAndZeroGroups() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnEmptyCollectionIfPrincipalHasEmptyRestrictionsAndNullGroups
public void shouldReturnEmptyCollectionIfPrincipalHasEmptyRestrictionsAndNullGroups() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnOnlyPrincipalRestrictionsIfPrincipalHasRestrictionsButEmptyGroups
public void shouldReturnOnlyPrincipalRestrictionsIfPrincipalHasRestrictionsButEmptyGroups() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldCombineRestrictionsFromPrincipalAndItsGroups
public void shouldCombineRestrictionsFromPrincipalAndItsGroups() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldCombineRestrictionsFromPrincipalAndItsGroupsEvenIfOneOfGroupsReturnsNullRestrictions
public void shouldCombineRestrictionsFromPrincipalAndItsGroupsEvenIfOneOfGroupsReturnsNullRestrictions() throws java.lang.Exception- Throws:
java.lang.Exception
-
-