Class UserRestrictionTest


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

      • UserRestrictionTest

        public UserRestrictionTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderWithEmptyUserCollection

        public void testIsFulfilledInternalAbstractOrderWithEmptyUserCollection()
                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderMatchUserAndIsPositive

        public void testIsFulfilledInternalAbstractOrderMatchUserAndIsPositive()
                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderMatchUserAndNotPositive

        public void testIsFulfilledInternalAbstractOrderMatchUserAndNotPositive()
                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderNoMatchUserAndIsPositive

        public void testIsFulfilledInternalAbstractOrderNoMatchUserAndIsPositive()
                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderNoMatchUserAndNotPositive

        public void testIsFulfilledInternalAbstractOrderNoMatchUserAndNotPositive()
                                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderMatchUserGroupAndIsPositive

        public void testIsFulfilledInternalAbstractOrderMatchUserGroupAndIsPositive()
                                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderNoMatchUserGroupAndNotPositive

        public void testIsFulfilledInternalAbstractOrderNoMatchUserGroupAndNotPositive()
                                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderNoMatchUserGroupAndIsPositive

        public void testIsFulfilledInternalAbstractOrderNoMatchUserGroupAndIsPositive()
                                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsFulfilledInternalAbstractOrderMatchUserGroupAndNotPositive

        public void testIsFulfilledInternalAbstractOrderMatchUserGroupAndNotPositive()
                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • mockUser

        protected User mockUser​(long longPk)