InvalidOptionException extends DittoRuntimeException implements ThingSearchException { public static Builder newBuilder() { return new Builder(); } private  InvalidOptionException(final DittoHeaders dittoHeaders,
            @Nullable final String message,
            @Nullable final String description,
            @Nullable final Throwable cause,
            @Nullable final URI href); static Builder newBuilder(); static InvalidOptionException fromMessage(@Nullable final String message, final DittoHeaders dittoHeaders); static InvalidOptionException fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); static final String ERROR_CODE; }
@Test public void copy() { final DittoRuntimeException copy = DittoRuntimeException.newBuilder(TestConstants.INVALID_OPTION_EXCEPTION).build(); assertThat(copy).isEqualTo(TestConstants.INVALID_OPTION_EXCEPTION); }