@IntegrationTest public class DefaultPunchOutServiceIntegrationTest extends ServicelayerTest
PunchOutService.importServicejaloSession| Constructor and Description |
|---|
DefaultPunchOutServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testProfileTransactionHappyPath()
Tests that getting a
ProfileRequest CXML will yield a proper ProfileResponse back. |
void |
testPunchOutSetUpRequestEditOperation()
Tests that sending a proper
PunchOutSetupRequest in the form of a parsed from a file cXML object will
yield a proper cXML PunchOutSetupResponse. |
void |
testPunchOutSetUpRequestHappyPath()
Tests that sending a proper
PunchOutSetupRequest in the form of a parsed from a file cXML object will
yield a proper cXML PunchOutSetupResponse. |
void |
testPurchaseOrderRequestHappyPath()
Tests the full scenario of passing an
OrderRequest, populating a shopping cart and placing an order. |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultPunchOutServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testPurchaseOrderRequestHappyPath()
throws java.io.FileNotFoundException
OrderRequest, populating a shopping cart and placing an order.java.io.FileNotFoundExceptionpublic void testPunchOutSetUpRequestHappyPath()
throws java.io.FileNotFoundException
PunchOutSetupRequest in the form of a parsed from a file cXML object will
yield a proper cXML PunchOutSetupResponse.java.io.FileNotFoundExceptionpublic void testPunchOutSetUpRequestEditOperation()
throws java.io.FileNotFoundException
PunchOutSetupRequest in the form of a parsed from a file cXML object will
yield a proper cXML PunchOutSetupResponse. The operation is 'edit'.java.io.FileNotFoundExceptionpublic void testProfileTransactionHappyPath()
throws java.io.FileNotFoundException
ProfileRequest CXML will yield a proper ProfileResponse back.java.io.FileNotFoundExceptionCopyright © 2018 SAP SE. All Rights Reserved.