RetrieveFeatureDefinitionLiveCommandImpl extends AbstractQueryLiveCommand<RetrieveFeatureDefinitionLiveCommand,
        RetrieveFeatureDefinitionLiveCommandAnswerBuilder> implements RetrieveFeatureDefinitionLiveCommand { @Override public RetrieveFeatureDefinitionLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return of(RetrieveFeatureDefinition.of(getThingEntityId(), getFeatureId(), dittoHeaders)); } private  RetrieveFeatureDefinitionLiveCommandImpl(final RetrieveFeatureDefinition command); @Nonnull static RetrieveFeatureDefinitionLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Override RetrieveFeatureDefinitionLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Nonnull @Override RetrieveFeatureDefinitionLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final RetrieveFeatureDefinitionLiveCommand newRetrieveFeatureDefinitionLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newRetrieveFeatureDefinitionLiveCommand).withDittoHeaders(emptyDittoHeaders); }