InvalidRqlExpressionException extends DittoRuntimeException { public static InvalidRqlExpressionException fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders) { return DittoRuntimeException.fromJson(jsonObject, dittoHeaders, new Builder()); } private  InvalidRqlExpressionException(final DittoHeaders dittoHeaders,
            final String message,
            final String description,
            final Throwable cause,
            final URI href); static Builder newBuilder(); static InvalidRqlExpressionException fromMessage(@Nullable final String message,
            final DittoHeaders dittoHeaders); static InvalidRqlExpressionException fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); static final String ERROR_CODE; }
@Test public void createInstanceFromValidJson() { final InvalidRqlExpressionException underTest = InvalidRqlExpressionException.fromJson(KNOWN_JSON, DittoHeaders.empty()); assertThat(underTest).isEqualTo(INVALID_FILTER_EXCEPTION); }