@IntegrationTest public class PickUpSourcingEndToEndIntegrationTest extends BaseSourcingIntegrationTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CODE_MONTREAL |
static java.lang.String |
NAME_MONTREAL_DOWNTOWN |
addresses, asns, atpFormulas, baseStores, deliveryModes, orders, pointsOfService, products, restockConfigService, sourcingService, stockLevels, users, warehousesflexibleSearchService, modelService, sessionService, springCustomContextLoaderimportServicejaloSession| Constructor and Description |
|---|
PickUpSourcingEndToEndIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
shouldNotSourceFromMontrealWarehouse_MontrealWarehouseNoPickup()
Given an pickup order with 1 entries:
entry 1 : {quantity: 3, product: camera} The Point of Service has a warehouse containing the inventory, but it doesnot support pickup |
void |
shouldSource1ProductFromDesignatedPickupLocation()
Given an pickup order with 1 entries:
entry 1 : {quantity: 3, product: camera} |
void |
shouldSource2ProductFromDesignatedPickupLocation()
Given an pickup order with 2 entries:
entry 1 : {quantity: 3, product: camera} entry 2 : {quantity: 3, product: memoryCard} |
assertSourcingResultContents, refreshOrder, resetFactors, setSourcingFactors, setupBaseStore, setupShoppersaveAll, setupBaseSitecreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic static final java.lang.String CODE_MONTREAL
public static final java.lang.String NAME_MONTREAL_DOWNTOWN
public PickUpSourcingEndToEndIntegrationTest()
public void setup()
public void shouldSource1ProductFromDesignatedPickupLocation()
Result:
It should source complete from 1 location, Montreal
public void shouldNotSourceFromMontrealWarehouse_MontrealWarehouseNoPickup()
Result:
It should not source the order
public void shouldSource2ProductFromDesignatedPickupLocation()
Result:
It should source complete from 1 location, Montreal
Copyright © 2018 SAP SE. All Rights Reserved.