verify(runtimeServiceMock).activateProcessInstanceById(MockProvider.EXAMPLE_PROCESS_INSTANCE_ID);
}
@Test
public void testActivateThrowsProcessEngineException() {
ProcessInstanceSuspensionStateDto dto = new ProcessInstanceSuspensionStateDto();
dto.setSuspended(false);
String expectedMessage = "expectedMessage";
doThrow(new ProcessEngineException(expectedMessage))
.when(runtimeServiceMock)