Class DefaultPunchOutServiceIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.b2b.punchout.services.impl.DefaultPunchOutServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
Integration test for
PunchOutService.-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTests that getting aProfileRequestCXML will yield a properProfileResponseback.voidTests that sending a properPunchOutSetupRequestin the form of a parsed from a file cXML object will yield a proper cXMLPunchOutSetupResponse.voidTests that sending a properPunchOutSetupRequestin the form of a parsed from a file cXML object will yield a proper cXMLPunchOutSetupResponse.voidTests the full scenario of passing anOrderRequest, populating a shopping cart and placing an order.Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
DefaultPunchOutServiceIntegrationTest
public DefaultPunchOutServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testPurchaseOrderRequestHappyPath
Tests the full scenario of passing anOrderRequest, populating a shopping cart and placing an order.- Throws:
FileNotFoundException
-
testPunchOutSetUpRequestHappyPath
Tests that sending a properPunchOutSetupRequestin the form of a parsed from a file cXML object will yield a proper cXMLPunchOutSetupResponse.- Throws:
FileNotFoundException
-
testPunchOutSetUpRequestEditOperation
Tests that sending a properPunchOutSetupRequestin the form of a parsed from a file cXML object will yield a proper cXMLPunchOutSetupResponse. The operation is 'edit'.- Throws:
FileNotFoundException
-
testProfileTransactionHappyPath
Tests that getting aProfileRequestCXML will yield a properProfileResponseback.- Throws:
FileNotFoundException
-