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