Package org.flowable.engine.test.mock
Class FlowableMockSupport
java.lang.Object
org.flowable.engine.test.mock.FlowableMockSupport
- Author:
- Joram Barrez
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFlowableMockSupport
(ProcessEngine processEngine) FlowableMockSupport
(TestActivityBehaviorFactory testActivityBehaviorFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNoOpServiceTaskByClassName
(String className) void
int
static boolean
isMockSupportPossible
(ProcessEngine processEngine) void
mockServiceTaskByIdWithClassDelegate
(String taskId, Class<?> mockedClass) void
mockServiceTaskByIdWithClassDelegate
(String taskId, String mockedClassFqn) void
mockServiceTaskWithClassDelegate
(String originalClassFqn, Class<?> mockedClass) void
mockServiceTaskWithClassDelegate
(String originalClassFqn, String mockedClassFqn) void
reset()
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()
-