RetrieveFeaturePropertiesResponse extends AbstractCommandResponse<RetrieveFeaturePropertiesResponse> implements ThingQueryCommandResponse<RetrieveFeaturePropertiesResponse> { @Deprecated public static RetrieveFeaturePropertiesResponse of(final String thingId, final String featureId, final FeatureProperties featureProperties, final DittoHeaders dittoHeaders) { return of(ThingId.of(thingId), featureId, featureProperties, dittoHeaders); } private  RetrieveFeaturePropertiesResponse(final ThingId thingId, final String featureId,
            final FeatureProperties featureProperties, final DittoHeaders dittoHeaders); @Deprecated static RetrieveFeaturePropertiesResponse of(final String thingId, final String featureId,
            final FeatureProperties featureProperties, final DittoHeaders dittoHeaders); static RetrieveFeaturePropertiesResponse of(final ThingId thingId, final String featureId,
            final FeatureProperties featureProperties, final DittoHeaders dittoHeaders); @Deprecated static RetrieveFeaturePropertiesResponse of(final String thingId, final String featureId,
            @Nullable final JsonObject jsonObject, final DittoHeaders dittoHeaders); static RetrieveFeaturePropertiesResponse of(final ThingId thingId, final String featureId,
            @Nullable final JsonObject jsonObject, final DittoHeaders dittoHeaders); static RetrieveFeaturePropertiesResponse fromJson(final String jsonString,
            final DittoHeaders dittoHeaders); static RetrieveFeaturePropertiesResponse fromJson(final JsonObject jsonObject,
            final DittoHeaders dittoHeaders); @Override ThingId getThingEntityId(); String getFeatureId(); FeatureProperties getFeatureProperties(); @Override JsonValue getEntity(final JsonSchemaVersion schemaVersion); @Override RetrieveFeaturePropertiesResponse setEntity(final JsonValue entity); @Override RetrieveFeaturePropertiesResponse setDittoHeaders(final DittoHeaders dittoHeaders); @Override JsonPointer getResourcePath(); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override String toString(); static final String TYPE; }
@Test(expected = NullPointerException.class) public void tryToCreateInstanceWithNullFeatureProperties() { RetrieveFeaturePropertiesResponse.of(TestConstants.Thing.THING_ID, TestConstants.Feature.FLUX_CAPACITOR_ID, null, TestConstants.EMPTY_DITTO_HEADERS); }