Class VariableContextFake
java.lang.Object
org.camunda.community.mockito.typedvalues.VariableContextFake
- All Implemented Interfaces:
Supplier<org.camunda.bpm.engine.variable.VariableMap>,org.camunda.bpm.engine.variable.context.VariableContext
public class VariableContextFake
extends Object
implements org.camunda.bpm.engine.variable.context.VariableContext, Supplier<org.camunda.bpm.engine.variable.VariableMap>
Implementation of
VariableContext that internally uses a VariableMap to keep key/value pairs.
Use add(String, TypedValue) for fluent building.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsVariable(String key) org.camunda.bpm.engine.variable.VariableMapget()keySet()org.camunda.bpm.engine.variable.value.TypedValue
-
Constructor Details
-
VariableContextFake
public VariableContextFake()
-
-
Method Details
-
resolve
- Specified by:
resolvein interfaceorg.camunda.bpm.engine.variable.context.VariableContext
-
containsVariable
- Specified by:
containsVariablein interfaceorg.camunda.bpm.engine.variable.context.VariableContext
-
keySet
- Specified by:
keySetin interfaceorg.camunda.bpm.engine.variable.context.VariableContext
-
add
-
get
public org.camunda.bpm.engine.variable.VariableMap get()
-