Function mockito::server_address

source ·
pub fn server_address() -> SocketAddr
Expand description

Address and port of the local server. Can be used with std::net::TcpStream.

The server will be started if necessary.