Package org.flowable.engine.test.mock
Class FlowableMockSupport
java.lang.Object
org.flowable.engine.test.mock.FlowableMockSupport
- Author:
- Joram Barrez
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFlowableMockSupport(ProcessEngine processEngine) FlowableMockSupport(TestActivityBehaviorFactory testActivityBehaviorFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNoOpServiceTaskByClassName(String className) voidintstatic booleanisMockSupportPossible(ProcessEngine processEngine) voidmockServiceTaskByIdWithClassDelegate(String taskId, Class<?> mockedClass) voidmockServiceTaskByIdWithClassDelegate(String taskId, String mockedClassFqn) voidmockServiceTaskWithClassDelegate(String originalClassFqn, Class<?> mockedClass) voidmockServiceTaskWithClassDelegate(String originalClassFqn, String mockedClassFqn) voidreset()void
-
Field Details
-
testActivityBehaviorFactory
-
-
Constructor Details
-
FlowableMockSupport
-
FlowableMockSupport
-
-
Method Details
-
isMockSupportPossible
-
mockServiceTaskWithClassDelegate
-
mockServiceTaskWithClassDelegate
-
mockServiceTaskByIdWithClassDelegate
-
mockServiceTaskByIdWithClassDelegate
-
setAllServiceTasksNoOp
public void setAllServiceTasksNoOp() -
addNoOpServiceTaskById
-
addNoOpServiceTaskByClassName
-
getNrOfNoOpServiceTaskExecutions
public int getNrOfNoOpServiceTaskExecutions() -
getExecutedNoOpServiceTaskDelegateClassNames
-
reset
public void reset()
-