public class OrderCancelPossibilityTest extends AbstractOrderCancelTest
OrderCancelService.isCancelPossible(OrderModel, de.hybris.platform.core.model.security.PrincipalModel, boolean, boolean)
method in different scenarios.AbstractOrderCancelTest.OrderCancelDaoMockSTATE_STRATEGY_HOLDING_AREA_QUEUE_WAITINGimportServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
OrderCancelPossibilityTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
customSetUp() |
void |
tearDown() |
void |
testCompleteCancelOrigin()
Tests how configuration affects processing Complete Cancel Requests with different origins (Customer/CSA)
|
void |
testCompleteCancelPossibleInShipping()
Tests how configuration settings affect Complete Cancel Requests for orders that are being shipped or are shipped
|
void |
testCompleteCancelPossibleInWHS()
Tests how configuration settings affect Complete Cancel Requests for orders sent to Warehouse
|
void |
testPartialCancelAcrossStates()
Tests how configuration affects processing of Partial Cancel Requests
|
void |
testRequestImpossibleOnClosedOrders()
Tests state-based conditions, under which no Cancel Request is possible
|
void |
testRequestImpossibleOnPendingCancelOrders()
Tests state-based conditions, under which no Cancel Request is possible
|
createCancelRecord, createCancelRecordEntry, createSnaphot, getConfig, getConfiguration, getCurrentPrincipal, getModelService, getOrCreateOrderCancelConfig, getOrder, getOrderCancelService, getProduct3, injectAdaptersDependencies, injectStateMappingStrategy, placeTestOrder, setConfig, setConfiguration, setCurrentPrincipal, setModelService, setOrder, setOrderCancelService, setProduct3, setUpcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void customSetUp()
throws InvalidCartException,
CalculationException
public void testRequestImpossibleOnClosedOrders()
throws OrderCancelException
OrderCancelExceptionpublic void testRequestImpossibleOnPendingCancelOrders()
throws OrderCancelException
OrderCancelExceptionpublic void testCompleteCancelOrigin()
throws OrderCancelException
OrderCancelExceptionpublic void testPartialCancelAcrossStates()
throws OrderCancelException
OrderCancelExceptionpublic void testCompleteCancelPossibleInWHS()
throws OrderCancelException
OrderCancelExceptionpublic void testCompleteCancelPossibleInShipping()
throws OrderCancelException
OrderCancelExceptionpublic void tearDown()
tearDown in class AbstractOrderCancelTestCopyright © 2018 SAP SE. All Rights Reserved.