private void createExecutionMock() {
Execution mockExecution = MockProvider.createMockExecution();
ExecutionQuery mockExecutionQuery = mock(ExecutionQuery.class);
when(mockExecutionQuery.processInstanceId(eq(MockProvider.EXAMPLE_PROCESS_INSTANCE_ID))).thenReturn(mockExecutionQuery);
when(mockExecutionQuery.singleResult()).thenReturn(mockExecution);
when(mockRuntimeService.createExecutionQuery()).thenReturn(mockExecutionQuery);
}
private void createTaskMock() {