Uses of Class
org.camunda.community.mockito.process.CallActivityMock
Packages that use CallActivityMock
-
Uses of CallActivityMock in org.camunda.community.mockito
Methods in org.camunda.community.mockito that return CallActivityMockModifier and TypeMethodDescriptionstatic CallActivityMockCamundaMockito.registerCallActivityMock(String processDefinitionKey) static CallActivityMockProcessExpressions.registerCallActivityMock(String processDefinitionKey) Registers a call activity mock for the given process definition key (without the possibility to adjust the properties of the mocked model).static CallActivityMockProcessExpressions.registerCallActivityMock(String processDefinitionKey, CallActivityMock.MockedModelConfigurer mockedModelConfigurer) Registers a call activity mock for the given process definition key. -
Uses of CallActivityMock in org.camunda.community.mockito.process
Subclasses of CallActivityMock in org.camunda.community.mockito.processModifier and TypeClassDescriptionclassImplementation that registers the delegates mocks for the mocked subprocess to the gived spring bean context.Methods in org.camunda.community.mockito.process that return CallActivityMockModifier and TypeMethodDescriptionCallActivityMock.onExecutionAddVariable(String key, Object val) On execution, the MockProcess will add the given process variableCallActivityMock.onExecutionAddVariables(org.camunda.bpm.engine.variable.VariableMap variables) On execution, the MockProcess will add the given VariableMap to the executionCallActivityMock.onExecutionDo(String serviceId, Consumer<org.camunda.bpm.engine.delegate.DelegateExecution> consumer) On execution, the MockProcess will execute the given consumer with a DelegateExecution.CallActivityMock.onExecutionDo(Consumer<org.camunda.bpm.engine.delegate.DelegateExecution> consumer) On execution, the MockProcess will call the given consumer with a DelegateExecution.CallActivityMock.onExecutionRunIntoError(Throwable exception) On execution, the MockProcess will throw a RuntimeException for the given Throwable.CallActivityMock.onExecutionSendMessage(String message) On execution, the MockProcess will send the given message to allCallActivityMock.onExecutionSendMessage(String message, String businessId) On execution, the MockProcess will send the given message to a process instance with the given businessIdCallActivityMock.onExecutionSetVariables(org.camunda.bpm.engine.variable.VariableMap variables) On execution, the MockProcess will set the given VariableMap to the execution (ATTENTION: This means all current process variables are replaced with the given Map!)CallActivityMock.onExecutionThrowError(String errorCode) On execution, the MockProcess will throw error for the given code when no escalation is set If called multiple times, this method adds only the last error to the end event.CallActivityMock.onExecutionThrowEscalation(String escalationCode) On execution, the MockProcess will throw escalation for the given code If called multiple times, this method adds only the last escalation to the end event.CallActivityMock.onExecutionWaitForMessage(String message) On execution, the MockProcess will wait for the given messageCallActivityMock.onExecutionWaitForSignal(String signalName) On execution, the MockProcess will wait for the given signalCallActivityMock.onExecutionWaitForTimerWithDate(String iso8601date) On execution, the MockProcess will wait on a timer which is configured with an ISO 8601 date.CallActivityMock.onExecutionWaitForTimerWithDate(Date date) On execution, the MockProcess will wait on a timer which is configured with an dateCallActivityMock.onExecutionWaitForTimerWithDuration(String iso8601duration) On execution, the MockProcess will wait on a timer which is configured with an ISO 8601 duration.