Package de.hybris.platform.ordercancel
Class OrderCancelRecordsHandlerTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.ordercancel.AbstractOrderCancelTest
-
- de.hybris.platform.ordercancel.OrderCancelRecordsHandlerTest
-
- All Implemented Interfaces:
JaloSessionHolder
public class OrderCancelRecordsHandlerTest extends AbstractOrderCancelTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.ordercancel.AbstractOrderCancelTest
AbstractOrderCancelTest.AbstractMockOrderCancelStateManagementStrategy, AbstractOrderCancelTest.OrderCancelDaoMock, AbstractOrderCancelTest.RequestOriginStrategyHelper
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.ordercancel.AbstractOrderCancelTest
REQUEST_ORIGIN_STRATEGY_CSA, REQUEST_ORIGIN_STRATEGY_CUSTOMER, STATE_STRATEGY_HOLDING_AREA_QUEUE_WAITING, STATE_STRATEGY_IMPOSSIBLE, STATE_STRATEGY_PARTIALLY_SHIPPED, STATE_STRATEGY_SENT_TO_WAREHOUSE, STATE_STRATEGY_SHIPPING
-
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 OrderCancelRecordsHandlerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createRequest()
protected java.util.Collection<OrderCancelRecordEntryModel>
getOrderCancelEntries(OrderModel order)
void
testCreateRecordEntriesFullCancell()
void
testCreateRecordEntriesPartialCancell()
protected java.util.Collection<OrderCancelRecordEntryModel>
transform2CancelEntries(java.util.Collection<OrderModificationRecordEntryModel> input)
-
Methods inherited from class de.hybris.platform.ordercancel.AbstractOrderCancelTest
createCancelRecord, createCancelRecordEntry, createSnaphot, getConfig, getConfiguration, getCurrentPrincipal, getModelService, getOrCreateOrderCancelConfig, getOrder, getOrderCancelService, getProduct3, injectAdaptersDependencies, injectStateMappingStrategy, placeTestOrder, setConfig, setConfiguration, setCurrentPrincipal, setModelService, setOrder, setOrderCancelService, setProduct3, setUp, tearDown
-
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
-
createRequest
public void createRequest()
-
testCreateRecordEntriesFullCancell
public void testCreateRecordEntriesFullCancell() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateRecordEntriesPartialCancell
public void testCreateRecordEntriesPartialCancell() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getOrderCancelEntries
protected java.util.Collection<OrderCancelRecordEntryModel> getOrderCancelEntries(OrderModel order)
-
transform2CancelEntries
protected java.util.Collection<OrderCancelRecordEntryModel> transform2CancelEntries(java.util.Collection<OrderModificationRecordEntryModel> input)
-
-