Class PrincipalAllSearchRestrictionsAttributeHandlerTest


  • @UnitTest
    public class PrincipalAllSearchRestrictionsAttributeHandlerTest
    extends java.lang.Object
    • Constructor Detail

      • PrincipalAllSearchRestrictionsAttributeHandlerTest

        public PrincipalAllSearchRestrictionsAttributeHandlerTest()
    • 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