public class PaymentIntegrationTest
extends ServicelayerTest
Constructor and Description |
---|
PaymentIntegrationTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertStep(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() |
public static void prepare() throws java.lang.Exception
java.lang.Exception
public static void removeProcessDefinitions()
protected static java.lang.Object getBean(java.lang.String name)
public void setUpProductCatalogue()
public void resetServices()
public void testPaymentIntegrationAccepted() throws java.lang.InterruptedException, CalculationException
java.lang.InterruptedException
CalculationException
public void testPaymentIntegrationDeclined() throws java.lang.InterruptedException, CalculationException
java.lang.InterruptedException
CalculationException
protected OrderModel placeTestOrder(boolean valid) throws InvalidCartException, CalculationException
InvalidCartException
CalculationException
protected OrderProcessModel createProcess(java.lang.String processName)
protected void assertStep(java.lang.String bean) throws java.lang.InterruptedException
java.lang.InterruptedException
protected void setResultForAction(java.lang.String action, java.lang.String result)