RetrieveFeatureLiveCommandImpl extends AbstractQueryLiveCommand<RetrieveFeatureLiveCommand,
        RetrieveFeatureLiveCommandAnswerBuilder> implements RetrieveFeatureLiveCommand { @Override public RetrieveFeatureLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return of(RetrieveFeature.of(getThingEntityId(), getFeatureId(), getSelectedFields().orElse(null), dittoHeaders)); } private  RetrieveFeatureLiveCommandImpl(final RetrieveFeature command); @Nonnull static RetrieveFeatureLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Override RetrieveFeatureLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Nonnull @Override RetrieveFeatureLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final RetrieveFeatureLiveCommand newRetrieveFeatureLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newRetrieveFeatureLiveCommand).withDittoHeaders(emptyDittoHeaders); }