How to test client-side Akka HTTP
问题 I've just started testing out the Akka HTTP Request-Level Client-Side API (Future-Based). One thing I've been struggling to figure out is how to write a unit test for this. Is there a way to mock the response and have the future completed without having to actually do an HTTP request? I was looking at the API and the testkit package, trying to see how I could use that, only to find in the docs that it actually says: akka-http-testkit A test harness and set of utilities for verifying server