public class ProcessFlowTest
extends HybrisJUnit4Test
Constructor and Description |
---|
ProcessFlowTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertProcessState(BusinessProcessModel process,
ProcessState state) |
protected void |
assertStep(BusinessProcessModel process,
java.lang.String bean) |
protected BusinessProcessModel |
createProcess(java.lang.String processName) |
protected static java.lang.Object |
getBean(java.lang.String name) |
static void |
prepare() |
static void |
removeProcessDefinitions() |
void |
resetServices() |
protected void |
setResultForAction(java.lang.String action,
java.lang.String result) |
protected void |
setThrowExceptionForAction(java.lang.String action,
boolean throwException) |
void |
setupActions() |
void |
testConsignmentStatusCancel() |
void |
testErrorCode() |
void |
testErrorInProcess() |
void |
testExceptionInProcess() |
void |
testProcessAuthorizationFailed() |
void |
testProcessFraudFinalFraudNotScheduledForCleanup() |
void |
testProcessFraudFinalFraudScheduledForCleanup() |
void |
testProcessFraudFinalPotential() |
void |
testProcessOk() |
void |
testProcessPaymentFailed() |
void |
testProcessPaymentNotTaken() |
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 setupActions()
public void resetServices()
public void testErrorCode() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testProcessPaymentNotTaken() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testErrorInProcess() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testExceptionInProcess() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testConsignmentStatusCancel() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testProcessFraudFinalFraudScheduledForCleanup() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testProcessFraudFinalFraudNotScheduledForCleanup() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testProcessFraudFinalPotential() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testProcessPaymentFailed() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testProcessAuthorizationFailed() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testProcessOk() throws java.lang.InterruptedException
java.lang.InterruptedException
protected BusinessProcessModel createProcess(java.lang.String processName)
protected void setResultForAction(java.lang.String action, java.lang.String result)
protected void setThrowExceptionForAction(java.lang.String action, boolean throwException)
protected void assertStep(BusinessProcessModel process, java.lang.String bean) throws java.lang.InterruptedException
java.lang.InterruptedException
protected void assertProcessState(BusinessProcessModel process, ProcessState state)