DeleteFeaturePropertiesResponse extends AbstractCommandResponse<DeleteFeaturePropertiesResponse> implements ThingModifyCommandResponse<DeleteFeaturePropertiesResponse> { @Deprecated public static DeleteFeaturePropertiesResponse of(final String thingId, final String featureId, final DittoHeaders dittoHeaders) { return of(ThingId.of(thingId), featureId, dittoHeaders); } private  DeleteFeaturePropertiesResponse(final ThingId thingId, final String featureId,
            final DittoHeaders dittoHeaders); @Deprecated static DeleteFeaturePropertiesResponse of(final String thingId, final String featureId,
            final DittoHeaders dittoHeaders); static DeleteFeaturePropertiesResponse of(final ThingId thingId, final String featureId,
            final DittoHeaders dittoHeaders); static DeleteFeaturePropertiesResponse fromJson(final String jsonString,
            final DittoHeaders dittoHeaders); static DeleteFeaturePropertiesResponse fromJson(final JsonObject jsonObject,
            final DittoHeaders dittoHeaders); @Override ThingId getThingEntityId(); String getFeatureId(); @Override JsonPointer getResourcePath(); @Override DeleteFeaturePropertiesResponse setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override String toString(); static final String TYPE; }
@Test public void toJsonReturnsExpected() { final DeleteFeaturePropertiesResponse underTest = DeleteFeaturePropertiesResponse .of(TestConstants.Thing.THING_ID, TestConstants.Feature.FLUX_CAPACITOR_ID, TestConstants.EMPTY_DITTO_HEADERS); final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial()); assertThat(actualJson).isEqualTo(KNOWN_JSON); }