ModifyThingLiveCommandImpl extends AbstractModifyLiveCommand<ModifyThingLiveCommand,
        ModifyThingLiveCommandAnswerBuilder> implements ModifyThingLiveCommand { @Override public ModifyThingLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return new ModifyThingLiveCommandImpl(ModifyThing.of(getThingEntityId(), getThing(), null, dittoHeaders)); } private  ModifyThingLiveCommandImpl(final ModifyThing command); @Nonnull static ModifyThingLiveCommandImpl of(final Command<?> command); @Nonnull @Override Thing getThing(); @Override Category getCategory(); @Override ModifyThingLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override ModifyThingLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final ModifyThingLiveCommand newModifyThingLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newModifyThingLiveCommand).withDittoHeaders(emptyDittoHeaders); }