public async Task WriteAsync() { var response = new WriteResponse(); var request = new WriteRequest(); var channel = new TestRequestChannel(response); var ret = await channel.WriteAsync(request); ret .Should().BeSameAs(response); channel.Request .Should().BeSameAs(request); }