@DemoTest public class DeliveryModeServiceTest extends ServicelayerTransactionalTest
importServicejaloSession| Constructor and Description |
|---|
DeliveryModeServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Creates the core data, and necessary data for delivery modes.
|
void |
testGetDeliveryMode()
Tries to search for the delivery mode with code:
successful with "courier",
caught UnknownIdentifierException with "No_Such_DeliveryMode",
found all delivery modes, whose size is 3.
|
void |
testGetSupportedDeliveryModes()
Tries to search for the supported delivery modes with the payment mode:
found payment mode with "creditcard",
found all supported delivery modes for this payment mode, which is 5
|
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetDeliveryMode()
public void testGetSupportedDeliveryModes()
Copyright © 2018 SAP SE. All Rights Reserved.