public SocketReceiveAsyncBehaviorTests() { _server = new Pair0Socket(); _server.Listen(Url); _client = new Pair0Socket(); _client.Dial(Url); _behavior = new SocketReceiveAsyncBehavior(_server); }
public SocketSendBehaviorTests() { _server = new Pair0Socket(); _server.Listen(Url); _client = new Pair0Socket(); _client.Dial(Url); _behavior = new SocketSendBehavior(_client); }
public AsyncContextTests() { _server = new Pair0Socket(); _server.Listen(Url); _client = new Pair0Socket(); _client.Dial(Url); _serverAsyncContext = new AsyncContext(_server); _clientAsyncContext = new AsyncContext(_client); }