How does one test net.Conn in unit tests in Golang? How does one test net.Conn in unit tests in Golang? go go

How does one test net.Conn in unit tests in Golang?