DeleteAclEntryResponse extends AbstractCommandResponse<DeleteAclEntryResponse> implements
        ThingModifyCommandResponse<DeleteAclEntryResponse> { @Deprecated public static DeleteAclEntryResponse of(final String thingId, final AuthorizationSubject authorizationSubject, final DittoHeaders dittoHeaders) { return of(ThingId.of(thingId), authorizationSubject, dittoHeaders); } private  DeleteAclEntryResponse(final ThingId thingId, final AuthorizationSubject authorizationSubject,
            final DittoHeaders dittoHeaders); @Deprecated static DeleteAclEntryResponse of(final String thingId, final AuthorizationSubject authorizationSubject,
            final DittoHeaders dittoHeaders); static DeleteAclEntryResponse of(final ThingId thingId, final AuthorizationSubject authorizationSubject,
            final DittoHeaders dittoHeaders); static DeleteAclEntryResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders); static DeleteAclEntryResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override ThingId getThingEntityId(); AuthorizationSubject getAuthorizationSubject(); @Override JsonPointer getResourcePath(); @Override DeleteAclEntryResponse setDittoHeaders(final DittoHeaders dittoHeaders); @Override JsonSchemaVersion[] getSupportedSchemaVersions(); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override String toString(); static final String TYPE; }
@Test public void toJsonReturnsExpected() { final DeleteAclEntryResponse underTest = DeleteAclEntryResponse.of(TestConstants.Thing.THING_ID, TestConstants.Authorization.AUTH_SUBJECT_GRIMES, DittoHeaders.empty()); final JsonObject actualJsonUpdated = underTest.toJson(FieldType.regularOrSpecial()); assertThat(actualJsonUpdated).isEqualTo(KNOWN_JSON); }