ModifyFeaturePropertiesLiveCommandImpl extends
        AbstractModifyLiveCommand<ModifyFeaturePropertiesLiveCommand, ModifyFeaturePropertiesLiveCommandAnswerBuilder> implements ModifyFeaturePropertiesLiveCommand { @Override public ModifyFeaturePropertiesLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders) { return new ModifyFeaturePropertiesLiveCommandImpl(ModifyFeatureProperties.of(getThingEntityId(), getFeatureId(), getProperties(), dittoHeaders)); } private  ModifyFeaturePropertiesLiveCommandImpl(final ModifyFeatureProperties command); @Nonnull static ModifyFeaturePropertiesLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Nonnull @Override FeatureProperties getProperties(); @Override Category getCategory(); @Override ModifyFeaturePropertiesLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override ModifyFeaturePropertiesLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void setDittoHeadersReturnsExpected() { final DittoHeaders emptyDittoHeaders = DittoHeaders.empty(); final ModifyFeaturePropertiesLiveCommand newModifyFeaturePropertiesLiveCommand = underTest.setDittoHeaders(emptyDittoHeaders); assertThat(newModifyFeaturePropertiesLiveCommand).withDittoHeaders(emptyDittoHeaders); }