Class OrgUnitModelValidateInterceptorTest

    • Field Detail

      • thrown

        public org.junit.rules.ExpectedException thrown
    • Constructor Detail

      • OrgUnitModelValidateInterceptorTest

        public OrgUnitModelValidateInterceptorTest()
    • Method Detail

      • setUp

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

        public void shoudRestrainorgUnitFromBeingInMoreThanOneOrgUnitGroup()
      • shoudAllowUnitBeingInOneOrgUnitGroup

        public void shoudAllowUnitBeingInOneOrgUnitGroup()
      • shouldNotAllowToActivateUnitwhoseParentsHaveBeenDisabled

        public void shouldNotAllowToActivateUnitwhoseParentsHaveBeenDisabled()
      • shouldAllowToActivateUnitwhoseParentsHaveBeenEnabled

        public void shouldAllowToActivateUnitwhoseParentsHaveBeenEnabled()