@Test
public void tryToGetModifyFeaturePropertiesLiveCommandForCreateThingCommand() {

    final Command<?> commandMock = Mockito.mock(Command.class);
    assertThatExceptionOfType(ClassCastException.class)
            .isThrownBy(() -> ModifyFeaturePropertiesLiveCommandImpl.of(commandMock))
            .withMessageContaining(
                    ModifyFeatureProperties.class.getName())
            .withNoCause();
}