DeleteSubjectResponse extends AbstractCommandResponse<DeleteSubjectResponse> implements PolicyModifyCommandResponse<DeleteSubjectResponse> { public static DeleteSubjectResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders) { return fromJson(JsonFactory.newObject(jsonString), dittoHeaders); } private  DeleteSubjectResponse(final PolicyId policyId,
            final Label label,
            final SubjectId subjectId,
            final HttpStatusCode statusCode,
            final DittoHeaders dittoHeaders); @Deprecated static DeleteSubjectResponse of(final String policyId,
            final Label label,
            final SubjectId subjectId,
            final DittoHeaders dittoHeaders); static DeleteSubjectResponse of(final PolicyId policyId,
            final Label label,
            final SubjectId subjectId,
            final DittoHeaders dittoHeaders); static DeleteSubjectResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders); static DeleteSubjectResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override PolicyId getEntityId(); @Override JsonPointer getResourcePath(); @Override DeleteSubjectResponse 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 DeleteSubjectResponse underTestCreated = DeleteSubjectResponse.fromJson(KNOWN_JSON, TestConstants.EMPTY_DITTO_HEADERS); assertThat(underTestCreated).isNotNull(); }