Server as a function
This example is the simplest possible "server" implementation. Note that we are not spinning up a server-backend here - but the entire application(!) is testable by firing HTTP requests at it as if it were.
compile group: "org.http4k", name: "http4k-core", version: "3.163.0"