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
@IntegrationTest public class DefaultPunchOutServiceIntegrationTest extends ServicelayerTest
Integration test forPunchOutService.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultPunchOutServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestProfileTransactionHappyPath()Tests that getting aProfileRequestCXML will yield a properProfileResponseback.voidtestPunchOutSetUpRequestEditOperation()Tests that sending a properPunchOutSetupRequestin the form of a parsed from a file cXML object will yield a proper cXMLPunchOutSetupResponse.voidtestPunchOutSetUpRequestHappyPath()Tests that sending a properPunchOutSetupRequestin the form of a parsed from a file cXML object will yield a proper cXMLPunchOutSetupResponse.voidtestPurchaseOrderRequestHappyPath()Tests 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, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testPurchaseOrderRequestHappyPath
public void testPurchaseOrderRequestHappyPath() throws java.io.FileNotFoundExceptionTests the full scenario of passing anOrderRequest, populating a shopping cart and placing an order.- Throws:
java.io.FileNotFoundException
-
testPunchOutSetUpRequestHappyPath
public void testPunchOutSetUpRequestHappyPath() throws java.io.FileNotFoundExceptionTests that sending a properPunchOutSetupRequestin the form of a parsed from a file cXML object will yield a proper cXMLPunchOutSetupResponse.- Throws:
java.io.FileNotFoundException
-
testPunchOutSetUpRequestEditOperation
public void testPunchOutSetUpRequestEditOperation() throws java.io.FileNotFoundExceptionTests that sending a properPunchOutSetupRequestin the form of a parsed from a file cXML object will yield a proper cXMLPunchOutSetupResponse. The operation is 'edit'.- Throws:
java.io.FileNotFoundException
-
testProfileTransactionHappyPath
public void testProfileTransactionHappyPath() throws java.io.FileNotFoundExceptionTests that getting aProfileRequestCXML will yield a properProfileResponseback.- Throws:
java.io.FileNotFoundException
-
-