### Question:
ModifySubjectsResponse extends AbstractCommandResponse<ModifySubjectsResponse> implements PolicyModifyCommandResponse<ModifySubjectsResponse> { @Deprecated public static ModifySubjectsResponse of(final String policyId, final Label label, final DittoHeaders dittoHeaders) { return of(PolicyId.of(policyId), label, dittoHeaders); } private  ModifySubjectsResponse(final PolicyId policyId,
            final Label label,
            final HttpStatusCode statusCode,
            final DittoHeaders dittoHeaders); @Deprecated static ModifySubjectsResponse of(final String policyId, final Label label, final DittoHeaders dittoHeaders); static ModifySubjectsResponse of(final PolicyId policyId, final Label label,
            final DittoHeaders dittoHeaders); static ModifySubjectsResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders); static ModifySubjectsResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override PolicyId getEntityId(); Label getLabel(); @Override JsonPointer getResourcePath(); @Override ModifySubjectsResponse 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 ModifySubjectsResponse underTestUpdated = ModifySubjectsResponse.of(TestConstants.Policy.POLICY_ID, TestConstants.Policy.LABEL, TestConstants.EMPTY_DITTO_HEADERS); final JsonObject actualJsonUpdated = underTestUpdated.toJson(FieldType.regularOrSpecial()); assertThat(actualJsonUpdated).isEqualTo(KNOWN_JSON); }