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