public static Server forRouter(Function<BuiltInComponents, Router> block) {
    return forRouter(Mode.TEST, 0, block);
  }
public static Server forRouter(Function<BuiltInComponents, Router> block) {
    return forRouter(Mode.TEST, 0, block);
  }
public static Server forRouter ( Function < BuiltInComponents , Router > block ) { return forRouter ( Mode . TEST , 0 , block ) ; }
Create a server for the given router.

<p>The server will be running on a randomly selected ephemeral port, which can be checked using
the httpPort property.

<p>The server will be running in TEST mode.

@param block The block that creates the router.
@return The running server.
Create a server for the given router .