### Question:
ModelServerClient implements ModelServerClientApi<EObject>, ModelServerPaths { @Override public CompletableFuture<Response<Boolean>> delete(final String modelUri) { final Request request = new Request.Builder() .url( createHttpUrlBuilder(makeUrl(MODEL_BASE_PATH)) .addQueryParameter("modeluri", modelUri) .build()) .delete() .build(); return makeCall(request) .thenApply(response -> parseField(response, "type")) .thenApply(this::getBodyOrThrow) .thenApply(response -> response.mapBody(body -> body.equals("success"))); } ModelServerClient(final String baseUrl);  ModelServerClient(final OkHttpClient client, final String baseUrl); void close(); @Override CompletableFuture<Response<String>> get(final String modelUri); @Override CompletableFuture<Response<EObject>> get(final String modelUri, final String format); @Override CompletableFuture<Response<List<String>>> getAll(); @Override CompletableFuture<Response<Boolean>> delete(final String modelUri); @Override CompletableFuture<Response<String>> update(final String modelUri, final String updatedModel); @Override CompletableFuture<Response<EObject>> update(final String modelUri, final EObject updatedModel,
      final String format); @Override CompletableFuture<Response<Boolean>> save(final String modelUri); @Override CompletableFuture<Response<String>> getSchema(final String modelUri); @Override CompletableFuture<Response<Boolean>> configure(final ServerConfiguration configuration); @Override CompletableFuture<Response<Boolean>> ping(); @Override CompletableFuture<Response<Boolean>> edit(final String modelUri, final Command command); @Override CompletableFuture<Response<Boolean>> edit(final String modelUri, final Command command, final String format); @Override CompletableFuture<Response<Boolean>> edit(final String modelUri, final CCommand command,
      final String format); @Override void subscribe(final String modelUri, final SubscriptionListener subscriptionListener, final String format); @Override boolean unsubscribe(final String modelUri); String encode(final EObject eObject); String encode(final EObject eObject, final String format); Optional<EObject> decode(final String payload); Optional<EObject> decode(final String payload, final String format); @Override EditingContext edit(); @Override boolean close(final EditingContext editingContext);  }### Answer:
@Test public void delete() throws ExecutionException, InterruptedException, MalformedURLException { interceptor.addRule() .url(BASE_URL + ModelServerPaths.MODEL_BASE_PATH + "?modeluri=" + "SuperBrewer3000.json") .delete() .respond(Json.object(Json.prop("type", Json.text("success"))).toString()); ModelServerClient client = createClient(); final CompletableFuture<Response<Boolean>> f = client.delete("SuperBrewer3000.json"); assertThat(f.get().body(), equalTo(true)); }