@Test
void testDoCancelProcessInstanceId() {

    mockProcessInstanceStatusActive().abort();
    Object response = tested.doCancelProcessInstanceId(PROCESS_ID, PROCESS_INSTANCE_ID);
    verify(processInstance, times(0)).error();
    verify(processInstance, times(1)).abort();
    assertResultOk(response);
}