NetConn.Write will now send its payload to Conn on a separate goroutine, allowing proper simulation of a delayed response.
A fake responder now returns a fake.Response that contains the payload and any write delay.
Added newResponse() helper for returning frames without delay.
NetConn.Write will now send its payload to Conn on a separate goroutine, allowing proper simulation of a delayed response. A fake responder now returns a fake.Response that contains the payload and any write delay. Added newResponse() helper for returning frames without delay.
Fixes https://github.com/Azure/go-amqp/issues/290