DeleteFeatureLiveCommandImpl extends AbstractModifyLiveCommand<DeleteFeatureLiveCommand, DeleteFeatureLiveCommandAnswerBuilder> implements DeleteFeatureLiveCommand { @Override public DeleteFeatureLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return new DeleteFeatureLiveCommandImpl(DeleteFeature.of(getThingEntityId(), getFeatureId(), dittoHeaders)); } private  DeleteFeatureLiveCommandImpl(final DeleteFeature command); @Nonnull static DeleteFeatureLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Override Category getCategory(); @Override DeleteFeatureLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override DeleteFeatureLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final DeleteFeatureLiveCommand newDeleteFeatureLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newDeleteFeatureLiveCommand).withDittoHeaders(emptyDittoHeaders); }