CreateThingLiveCommandImpl extends AbstractModifyLiveCommand<CreateThingLiveCommand,
        CreateThingLiveCommandAnswerBuilder> implements CreateThingLiveCommand { @Override public CreateThingLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return of(CreateThing.of(thing, null, dittoHeaders)); } private  CreateThingLiveCommandImpl(final CreateThing command); @Nonnull static CreateThingLiveCommand of(final Command<?> command); @Override ThingId getThingEntityId(); @Override Thing getThing(); @Override Category getCategory(); @Override CreateThingLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override CreateThingLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final CreateThingLiveCommand newCreateThingLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newCreateThingLiveCommand).withDittoHeaders(emptyDittoHeaders); }