ModifyFeatureDefinitionLiveCommandImpl extends
        AbstractModifyLiveCommand<ModifyFeatureDefinitionLiveCommand, ModifyFeatureDefinitionLiveCommandAnswerBuilder> implements ModifyFeatureDefinitionLiveCommand { @Override public ModifyFeatureDefinitionLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return new ModifyFeatureDefinitionLiveCommandImpl(ModifyFeatureDefinition.of(getThingEntityId(), getFeatureId(), getDefinition(), dittoHeaders)); } private  ModifyFeatureDefinitionLiveCommandImpl(final ModifyFeatureDefinition command); @Nonnull static ModifyFeatureDefinitionLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Nonnull @Override FeatureDefinition getDefinition(); @Override Category getCategory(); @Override ModifyFeatureDefinitionLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override ModifyFeatureDefinitionLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final ModifyFeatureDefinitionLiveCommand newModifyFeatureDefinitionLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newModifyFeatureDefinitionLiveCommand).withDittoHeaders(emptyDittoHeaders); }