Class PaymentIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.yacceleratorfulfilmentprocess.test.PaymentIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class PaymentIntegrationTest extends ServicelayerTest
-
-
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 PaymentIntegrationTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assertStep(BusinessProcessModel process, java.lang.String bean)
protected OrderProcessModel
createProcess(java.lang.String processName)
protected static java.lang.Object
getBean(java.lang.String name)
protected OrderModel
placeTestOrder(boolean valid)
static void
prepare()
static void
removeProcessDefinitions()
void
resetServices()
protected void
setResultForAction(java.lang.String action, java.lang.String result)
void
setUpProductCatalogue()
void
testPaymentIntegrationAccepted()
void
testPaymentIntegrationDeclined()
-
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
-
prepare
public static void prepare() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setUpProductCatalogue
public void setUpProductCatalogue()
-
removeProcessDefinitions
public static void removeProcessDefinitions()
-
resetServices
public void resetServices()
-
testPaymentIntegrationAccepted
public void testPaymentIntegrationAccepted() throws java.lang.InterruptedException, CalculationException
- Throws:
java.lang.InterruptedException
CalculationException
-
testPaymentIntegrationDeclined
public void testPaymentIntegrationDeclined() throws java.lang.InterruptedException, CalculationException
- Throws:
java.lang.InterruptedException
CalculationException
-
placeTestOrder
protected OrderModel placeTestOrder(boolean valid) throws InvalidCartException, CalculationException
-
createProcess
protected OrderProcessModel createProcess(java.lang.String processName)
-
assertStep
protected void assertStep(BusinessProcessModel process, java.lang.String bean) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
setResultForAction
protected void setResultForAction(java.lang.String action, java.lang.String result)
-
getBean
protected static java.lang.Object getBean(java.lang.String name)
-
-