  @Test
  public void test_invert_modifier_referenziert_den_richtigen_mode() {

    // given:
    MplCommand first = some($MplCommand().withConditional(UNCONDITIONAL));
    MplCommand second = some($MplCommand().withConditional(INVERT));

    MplProcess process = some($MplProcess()//
        .withRepeating(false)//
        .withChainParts(listOf(first, second)));

    // when:
    CommandChain result = visitProcess(process);

    // then:
    Iterator<ChainLink> it = result.getCommands().iterator();
    assertThatNext(it).isNotInternal().isJumpDestination();
    assertThat(it.next()).matches(first);
    assertThat(it.next()).isInvertingCommandFor(first.getMode()); // Important line!
    assertThat(it.next()).matches(second);
    assertThatNext(it).isNotInternal().isUnconditionalNotify(process.getName());
  }