Class DefaultOrgUnitHierarchyServiceIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultOrgUnitHierarchyServiceIntegrationTest extends BaseCommerceBaseTest
Integration test for DefaultOrgUnitHierarchyService.
  • Constructor Details

    • DefaultOrgUnitHierarchyServiceIntegrationTest

      public DefaultOrgUnitHierarchyServiceIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldGenerateUnitPaths

      public void shouldGenerateUnitPaths()
    • shouldNotGenerateUnitPathsTypeNull

      public void shouldNotGenerateUnitPathsTypeNull()
    • shouldSaveChangesUpdateUnitPath

      public void shouldSaveChangesUpdateUnitPath()
    • shouldNotSaveChangesAndUpdateUnitPathUnitNull

      public void shouldNotSaveChangesAndUpdateUnitPathUnitNull()
    • getUnitForUid

      protected OrgUnitModel getUnitForUid(String uid)
    • shouldSkipBranchPathGenerationIfMultipleParentsAreDetected

      public void shouldSkipBranchPathGenerationIfMultipleParentsAreDetected() throws ImpExException
      Throws:
      ImpExException
    • shouldThrowExceptionIfCycleIsDetectedWhenUnitPathIsUpdated

      public void shouldThrowExceptionIfCycleIsDetectedWhenUnitPathIsUpdated()