Class DefaultOrgUnitHierarchyServiceIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
-
- de.hybris.platform.commerceservices.organization.services.impl.DefaultOrgUnitHierarchyServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultOrgUnitHierarchyServiceIntegrationTest extends BaseCommerceBaseTest
Integration test forDefaultOrgUnitHierarchyService
.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
flexibleSearchService
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultOrgUnitHierarchyServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OrgUnitModel
getUnitForUid(java.lang.String uid)
void
setUp()
void
shouldGenerateUnitPaths()
void
shouldNotGenerateUnitPathsTypeNull()
void
shouldNotSaveChangesAndUpdateUnitPathUnitNull()
void
shouldSaveChangesUpdateUnitPath()
void
shouldSkipBranchPathGenerationIfMultipleParentsAreDetected()
void
shouldThrowExceptionIfCycleIsDetectedWhenUnitPathIsUpdated()
-
Methods inherited from class de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
getFlexibleSearchService, getOrderForCode, getProcesses, initMocks, setFlexibleSearchService, waitForProcessToEnd
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldGenerateUnitPaths
public void shouldGenerateUnitPaths()
-
shouldNotGenerateUnitPathsTypeNull
public void shouldNotGenerateUnitPathsTypeNull()
-
shouldSaveChangesUpdateUnitPath
public void shouldSaveChangesUpdateUnitPath()
-
shouldNotSaveChangesAndUpdateUnitPathUnitNull
public void shouldNotSaveChangesAndUpdateUnitPathUnitNull()
-
getUnitForUid
protected OrgUnitModel getUnitForUid(java.lang.String uid)
-
shouldSkipBranchPathGenerationIfMultipleParentsAreDetected
public void shouldSkipBranchPathGenerationIfMultipleParentsAreDetected() throws ImpExException
- Throws:
ImpExException
-
shouldThrowExceptionIfCycleIsDetectedWhenUnitPathIsUpdated
public void shouldThrowExceptionIfCycleIsDetectedWhenUnitPathIsUpdated()
-
-