ModifyFeaturePropertiesLiveCommandImpl extends
        AbstractModifyLiveCommand<ModifyFeaturePropertiesLiveCommand, ModifyFeaturePropertiesLiveCommandAnswerBuilder> implements ModifyFeaturePropertiesLiveCommand { @Nonnull public static ModifyFeaturePropertiesLiveCommandImpl of(final Command<?> command) { return new ModifyFeaturePropertiesLiveCommandImpl((ModifyFeatureProperties) command); } private  ModifyFeaturePropertiesLiveCommandImpl(final ModifyFeatureProperties command); @Nonnull static ModifyFeaturePropertiesLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Nonnull @Override FeatureProperties getProperties(); @Override Category getCategory(); @Override ModifyFeaturePropertiesLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override ModifyFeaturePropertiesLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@SuppressWarnings("ConstantConditions") @Test public void tryToGetModifyFeaturePropertiesLiveCommandForNull() { assertThatExceptionOfType(NullPointerException.class) .isThrownBy(() -> ModifyFeaturePropertiesLiveCommandImpl.of(null)) .withMessage(MessageFormat.format("The {0} must not be null!", "command")) .withNoCause(); }
@Test public void tryToGetModifyFeaturePropertiesLiveCommandForCreateThingCommand() { final Command<?> commandMock = Mockito.mock(Command.class); assertThatExceptionOfType(ClassCastException.class) .isThrownBy(() -> ModifyFeaturePropertiesLiveCommandImpl.of(commandMock)) .withMessageContaining( ModifyFeatureProperties.class.getName()) .withNoCause(); }