Class PrincipalAllSearchRestrictionsAttributeHandlerTest

java.lang.Object
de.hybris.platform.servicelayer.security.dynamic.PrincipalAllSearchRestrictionsAttributeHandlerTest

@UnitTest public class PrincipalAllSearchRestrictionsAttributeHandlerTest extends Object
  • 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

      public void shouldCombineRestrictionsFromPrincipalAndItsGroups() throws Exception
      Throws:
      Exception
    • shouldCombineRestrictionsFromPrincipalAndItsGroupsEvenIfOneOfGroupsReturnsNullRestrictions

      public void shouldCombineRestrictionsFromPrincipalAndItsGroupsEvenIfOneOfGroupsReturnsNullRestrictions() throws Exception
      Throws:
      Exception