### Question:
DeleteSubjectResponse extends AbstractCommandResponse<DeleteSubjectResponse> implements PolicyModifyCommandResponse<DeleteSubjectResponse> { @Deprecated public static DeleteSubjectResponse of(final String policyId, final Label label, final SubjectId subjectId, final DittoHeaders dittoHeaders) { return of(PolicyId.of(policyId), label, subjectId, 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; }### Answer:
@Test public void toJsonReturnsExpected() { final DeleteSubjectResponse underTestCreated = DeleteSubjectResponse.of(TestConstants.Policy.POLICY_ID, TestConstants.Policy.LABEL, TestConstants.Policy.SUBJECT_ID, TestConstants.EMPTY_DITTO_HEADERS); final JsonObject actualJsonCreated = underTestCreated.toJson(FieldType.regularOrSpecial()); assertThat(actualJsonCreated).isEqualTo(KNOWN_JSON); }