DeleteAttributeLiveCommandImpl extends AbstractModifyLiveCommand<DeleteAttributeLiveCommand, DeleteAttributeLiveCommandAnswerBuilder> implements DeleteAttributeLiveCommand { @Override public DeleteAttributeLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return new DeleteAttributeLiveCommandImpl( DeleteAttribute.of(getThingEntityId(), attributePointer, dittoHeaders)); } private  DeleteAttributeLiveCommandImpl(final DeleteAttribute command); @Nonnull static DeleteAttributeLiveCommandImpl of(final Command<?> command); @Override JsonPointer getAttributePointer(); @Override Category getCategory(); @Override DeleteAttributeLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override DeleteAttributeLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final DeleteAttributeLiveCommand newDeleteAttributeLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newDeleteAttributeLiveCommand).withDittoHeaders(emptyDittoHeaders); }