### Question:
DefaultWot implements Wot { @Override public CompletableFuture<Void> destroy() { return servient.shutdown(); } DefaultWot(Servient servient);  DefaultWot();  DefaultWot(Config config); @Override String toString(); static Wot clientOnly(); static Wot clientOnly(Config config); static Wot serverOnly(); static Wot serverOnly(Config config); @Override Observable<Thing> discover(ThingFilter filter); @Override Observable<Thing> discover(); @Override ExposedThing produce(Thing thing); @Override ConsumedThing consume(Thing thing); @Override ConsumedThing consume(String thing); @Override CompletableFuture<Thing> fetch(URI url); @Override CompletableFuture<Thing> fetch(String url); @Override CompletableFuture<Void> destroy();  }### Answer:
@Test public void destroy() { DefaultWot wot = new DefaultWot(servient); wot.destroy(); verify(servient).shutdown(); }