예제 #1
0
        public async Task ReadAsync()
        {
            var response = new ReadResponse();
            var request  = new ReadRequest();
            var channel  = new TestRequestChannel(response);

            var ret = await channel.ReadAsync(request);

            ret
            .Should().BeSameAs(response);

            channel.Request
            .Should().BeSameAs(request);
        }