DeleteThingDefinitionResponse extends AbstractCommandResponse<DeleteThingDefinitionResponse> implements
        ThingModifyCommandResponse<DeleteThingDefinitionResponse> { public static DeleteThingDefinitionResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders) { return fromJson(JsonFactory.newObject(jsonString), dittoHeaders); } private  DeleteThingDefinitionResponse(final ThingId thingId, final DittoHeaders dittoHeaders); static DeleteThingDefinitionResponse of(final ThingId thingId, final DittoHeaders dittoHeaders); static DeleteThingDefinitionResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders); static DeleteThingDefinitionResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override ThingId getThingEntityId(); @Override JsonPointer getResourcePath(); @Override DeleteThingDefinitionResponse setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override String toString(); static final String TYPE; }
@Test public void createInstanceFromValidJson() { final DeleteThingDefinitionResponse underTest = DeleteThingDefinitionResponse.fromJson(KNOWN_JSON, TestConstants.EMPTY_DITTO_HEADERS); assertThat(underTest).isNotNull(); }