I'm trying to unit test my server code (non-http, custom protocol). I need to create a mock duplex socket that I can send messages to asynchronously and receive messages from.I'm trying to unit test my server code (non-htt
I'm trying to unit test my server code (non-http, custom protocol). I need to create a mock duplex socket that I can send messages to asynchronously and receive messages from.I'm trying to unit test my server code (non-htt