public class ActivitiMockSupport extends Object
Modifier and Type | Field and Description |
---|---|
protected TestActivityBehaviorFactory |
testActivityBehaviorFactory |
Constructor and Description |
---|
ActivitiMockSupport(ProcessEngine processEngine) |
ActivitiMockSupport(TestActivityBehaviorFactory testActivityBehaviorFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addNoOpServiceTaskByClassName(String className) |
void |
addNoOpServiceTaskById(String id) |
List<String> |
getExecutedNoOpServiceTaskDelegateClassNames() |
int |
getNrOfNoOpServiceTaskExecutions() |
static boolean |
isMockSupportPossible(ProcessEngine processEngine) |
void |
mockServiceTaskWithClassDelegate(String originalClassFqn,
Class<?> mockedClass) |
void |
mockServiceTaskWithClassDelegate(String originalClassFqn,
String mockedClassFqn) |
void |
reset() |
void |
setAllServiceTasksNoOp() |
protected TestActivityBehaviorFactory testActivityBehaviorFactory
public ActivitiMockSupport(TestActivityBehaviorFactory testActivityBehaviorFactory)
public ActivitiMockSupport(ProcessEngine processEngine)
public static boolean isMockSupportPossible(ProcessEngine processEngine)
public void mockServiceTaskWithClassDelegate(String originalClassFqn, Class<?> mockedClass)
public void mockServiceTaskWithClassDelegate(String originalClassFqn, String mockedClassFqn)
public void setAllServiceTasksNoOp()
public void addNoOpServiceTaskById(String id)
public void addNoOpServiceTaskByClassName(String className)
public int getNrOfNoOpServiceTaskExecutions()
public List<String> getExecutedNoOpServiceTaskDelegateClassNames()
public void reset()
Copyright © 2017 Alfresco. All rights reserved.