Class ReturnIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorIntegrationTest
de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorSourcingIntegrationTest
de.hybris.platform.yacceleratorordermanagement.integration.ReturnIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
This integration test creates an order process model and kick-start it with underlying consignment process from
beginning to the end. Afterwards it create a return process and verifies if the process has progressed successfully.
Please make sure that you have run initialize and update junit tenant before running this test.
-
Field Summary
Fields inherited from class de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorSourcingIntegrationTest
atpFormulas, automatedWorkflowActionTemplates, baseStores, CAMERA_CODE, CAMERA_QTY, cancellationUtil, CODE_BOSTON, CODE_MEMORY_CARD, CODE_MONTREAL, CODE_MONTREAL_EXTERNAL, CODE_PARIS, CODE_TORONTO, commentTypes, commerceStockService, components, CONSIGNMENT_ACTION_EVENT_NAME, csAgentGroups, DECLINE_ENTRIES, declineUtil, deliveryMode, domains, emailAddresses, LEFTOVER_QTY, LENS_CODE, LENS_QTY, MEMORY_CARD_CODE, MEMORY_CARD_QTY, modelService, order, ORDER_ACTION_EVENT_NAME, orderBusinessProcessService, orders, pointsOfService, products, productService, RE_SOURCE_CHOICE, REALLOCATE_CONSIGNMENT_CHOICE, restockConfigs, returnUtil, sourcingBanService, sourcingConfigs, sourcingUtil, stockLevels, stockService, timeOut, users, warehouses, warehouseStockService, workflowActionTemplates, workflowService, workflowTemplates, workflowUtilFields inherited from class de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorIntegrationTest
flexibleSearchService, springCustomContextLoaderFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp()voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidshouldReturnSuccessful_RestockFromExternalWarehouse_CancelAndSecondAttemptExpectedQuantity_Shipping()voidMethods inherited from class de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorSourcingIntegrationTest
buildAsnWorkflow, buildConsignmentWorkflow, cleanUpData, cleanUpModel, refreshConsignmentAndEntries, resetFactors, saveAll, setupMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
ReturnIntegrationTest
public ReturnIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
cleanUp
public void cleanUp() -
shouldReturnSuccessButNotRestock_SingleEntry_ReturnInStore_Boston
public void shouldReturnSuccessButNotRestock_SingleEntry_ReturnInStore_Boston() throws RetryLaterException, InterruptedException -
shouldReturnSuccess_SingleEntry_ReturnInStore_RestockConfigNull
public void shouldReturnSuccess_SingleEntry_ReturnInStore_RestockConfigNull() throws RetryLaterException, InterruptedException -
shouldReturnSuccess_SingleEntry_ReturnInStore_RestockSkip
public void shouldReturnSuccess_SingleEntry_ReturnInStore_RestockSkip() throws RetryLaterException, InterruptedException -
shouldReturnSuccessButNotRestock_SingleEntry_ReturnInStore_Montreal
public void shouldReturnSuccessButNotRestock_SingleEntry_ReturnInStore_Montreal() throws RetryLaterException, InterruptedException -
shouldReturnSuccessButNotRestock_SingleEntry_ReturnOnline_SendReturnLabelAndFormEmail
public void shouldReturnSuccessButNotRestock_SingleEntry_ReturnOnline_SendReturnLabelAndFormEmail() throws RetryLaterException, InterruptedException, ImpExException -
shouldReturnSuccess_SingleEntry_PickUpOrder
public void shouldReturnSuccess_SingleEntry_PickUpOrder() throws RetryLaterException, InterruptedException -
shouldReturnSuccess_SingleEntry_CreateTwoReturns
public void shouldReturnSuccess_SingleEntry_CreateTwoReturns() throws RetryLaterException, InterruptedException -
shouldReturnFail_SingleEntry_SecondAttemptExpectedQuantityTooHigh_InStore
public void shouldReturnFail_SingleEntry_SecondAttemptExpectedQuantityTooHigh_InStore() throws RetryLaterException, InterruptedException -
shouldReturnFail_SingleEntry_SecondAttemptExpectedQuantityTooHigh_OnLine_PendingReturnExists
public void shouldReturnFail_SingleEntry_SecondAttemptExpectedQuantityTooHigh_OnLine_PendingReturnExists() throws RetryLaterException, InterruptedException -
shouldCancelReturnSuccess_AfterApproval_ReCreateReturnSuccess
public void shouldCancelReturnSuccess_AfterApproval_ReCreateReturnSuccess() throws RetryLaterException, InterruptedException -
shouldCancelReturnSuccess_AfterCreation
public void shouldCancelReturnSuccess_AfterCreation() throws RetryLaterException, InterruptedException -
shouldCancelReturnSuccess_AfterReturnCreation
public void shouldCancelReturnSuccess_AfterReturnCreation() throws RetryLaterException, InterruptedException -
shouldReturnFail_SingleEntry_ExpectedQuantityTooHigh
public void shouldReturnFail_SingleEntry_ExpectedQuantityTooHigh() throws RetryLaterException, InterruptedException -
shouldReturnFail_OrderNotShipped
-
shouldReturnSuccess_SingleEntry_OrderPartiallyShipped_ExpectedQuantityOverShipped
public void shouldReturnSuccess_SingleEntry_OrderPartiallyShipped_ExpectedQuantityOverShipped() throws RetryLaterException, InterruptedException -
shouldReturnSuccess_SingleEntry_OrderPartiallyShipped
public void shouldReturnSuccess_SingleEntry_OrderPartiallyShipped() throws RetryLaterException, InterruptedException -
shouldReturnSuccess_MultiEntry_ReturnOnline_Restock
public void shouldReturnSuccess_MultiEntry_ReturnOnline_Restock() throws RetryLaterException, InterruptedException -
shouldReturnSuccessButNotRestock_MultiEntry_MultiPartiallyReturns
public void shouldReturnSuccessButNotRestock_MultiEntry_MultiPartiallyReturns() throws RetryLaterException, InterruptedException -
shouldReturnSuccessful_RestockFromExternalWarehouse_SecondAttemptExpectedQuantityTooHigh_Shipping
public void shouldReturnSuccessful_RestockFromExternalWarehouse_SecondAttemptExpectedQuantityTooHigh_Shipping() throws InterruptedException- Throws:
InterruptedException
-
shouldReturnSuccessful_RestockFromExternalWarehouse_CancelAndSecondAttemptExpectedQuantity_Shipping
public void shouldReturnSuccessful_RestockFromExternalWarehouse_CancelAndSecondAttemptExpectedQuantity_Shipping() throws InterruptedException- Throws:
InterruptedException
-
shouldReturnSuccess_ReturnOnline_Restock_ExternalWarehouse
public void shouldReturnSuccess_ReturnOnline_Restock_ExternalWarehouse() throws RetryLaterException, InterruptedException
-