DefaultServerConfig returns the default configuration for starting a test server.
Server wraps both the HTTP and API servers needed to test API interactions and simplifies managing their lifecycles.
NewServer returns a new running API server using the given state. The pool may be nil, in which case a pool using the given state will be used.
It returns information suitable for connecting to the state without any authentication information or model tag, and the server that's been started.
NewServerWithConfig is like NewServer except that the entire server configuration may be specified (see DefaultServerConfig for a suitable starting point).
Stop stops both the API and HTTP servers.