RetrieveAttributesLiveCommandImpl extends AbstractQueryLiveCommand<RetrieveAttributesLiveCommand,
        RetrieveAttributesLiveCommandAnswerBuilder> implements RetrieveAttributesLiveCommand { @Override public RetrieveAttributesLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return of(RetrieveAttributes.of(getThingEntityId(), getSelectedFields().orElse(null), dittoHeaders)); } private  RetrieveAttributesLiveCommandImpl(final RetrieveAttributes command); @Nonnull static RetrieveAttributesLiveCommandImpl of(final Command<?> command); @Override RetrieveAttributesLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Nonnull @Override RetrieveAttributesLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final RetrieveAttributesLiveCommand newRetrieveAttributesLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newRetrieveAttributesLiveCommand).withDittoHeaders(emptyDittoHeaders); }