ModifyFeaturePropertyLiveCommandImpl extends
        AbstractModifyLiveCommand<ModifyFeaturePropertyLiveCommand, ModifyFeaturePropertyLiveCommandAnswerBuilder> implements ModifyFeaturePropertyLiveCommand { @Nonnull public static ModifyFeaturePropertyLiveCommandImpl of(final Command<?> command) { return new ModifyFeaturePropertyLiveCommandImpl((ModifyFeatureProperty) command); } private  ModifyFeaturePropertyLiveCommandImpl(final ModifyFeatureProperty command); @Nonnull static ModifyFeaturePropertyLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Nonnull @Override JsonPointer getPropertyPointer(); @Nonnull @Override JsonValue getPropertyValue(); @Override Category getCategory(); @Override ModifyFeaturePropertyLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override ModifyFeaturePropertyLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@SuppressWarnings("ConstantConditions") @Test public void tryToGetModifyFeaturePropertyLiveCommandForNull() { assertThatExceptionOfType(NullPointerException.class) .isThrownBy(() -> ModifyFeaturePropertyLiveCommandImpl.of(null)) .withMessage(MessageFormat.format("The {0} must not be null!", "command")) .withNoCause(); }
@Test public void tryToGetModifyFeaturePropertyLiveCommandForCreateThingCommand() { final Command<?> commandMock = Mockito.mock(Command.class); assertThatExceptionOfType(ClassCastException.class) .isThrownBy(() -> ModifyFeaturePropertyLiveCommandImpl.of(commandMock)) .withMessageContaining( ModifyFeatureProperty.class.getName()) .withNoCause(); }