@SuppressWarnings("ConstantConditions")
@Test
public void tryToGetLiveCommandForNullCommand() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> underTest.getLiveCommand(null))
            .withMessage(MessageFormat.format("The {0} must not be null!", "command"))
            .withNoCause();
}