public void ConnectsToDefaultServerByDefault() { using (var mongo = new Mongo()) { var endpoint = (IPEndPoint)mongo.ServerConnection().Client.Client.RemoteEndPoint; Assert.Equal("127.0.0.1", endpoint.Address.ToString()); Assert.Equal(27017, endpoint.Port); } }