RetrieveAttributeLiveCommandImpl extends AbstractQueryLiveCommand<RetrieveAttributeLiveCommand,
        RetrieveAttributeLiveCommandAnswerBuilder> implements RetrieveAttributeLiveCommand { @Override public RetrieveAttributeLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return of(RetrieveAttribute.of(getThingEntityId(), getAttributePointer(), dittoHeaders)); } private  RetrieveAttributeLiveCommandImpl(final RetrieveAttribute command); @Nonnull static RetrieveAttributeLiveCommandImpl of(final Command<?> command); @Nonnull @Override JsonPointer getAttributePointer(); @Override RetrieveAttributeLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Nonnull @Override RetrieveAttributeLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final RetrieveAttributeLiveCommand newRetrieveAttributeLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newRetrieveAttributeLiveCommand).withDittoHeaders(emptyDittoHeaders); }