@IntegrationTest public class PickUpSourcingEndToEndIntegrationTest extends BaseSourcingIntegrationTest
| Modifier and Type | Field and Description |
|---|---|
static String |
CODE_MONTREAL |
static String |
NAME_MONTREAL_DOWNTOWN |
addresses, atpFormulas, baseStores, deliveryModes, orders, pointsOfService, products, restockConfigService, sourcingService, stockLevels, users, warehousesflexibleSearchService, modelService, sessionService, springCustomContextLoaderdefaultLanguage, jaloSession| 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, getAllocationForProduct, refreshOrder, resetFactors, setSourcingFactors, setupBaseStore, setupShopper, verifyConsignment_Camera_MemoryCard, verifyConsignment_CamerasaveAll, setupBaseSitecreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic static final String CODE_MONTREAL
public static final 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 © 2017 SAP SE. All Rights Reserved.