@Test
public void testMigrateSingleCaseInstanceNotExisting() {

            
    assertThatExceptionOfType(CaseNotFoundException.class).isThrownBy(() -> { 
        caseInstanceMigrationService.migrate("not-existing", deploymentUnitV2.getIdentifier(), new HashMap<>()); })
    .withMessageContaining("Case not-existing does not exist or is not active, cannot be migrated"); 
}