Пример #1
0
        public async Task CallAsync()
        {
            var response = new CallResponse();
            var request  = new CallRequest();
            var channel  = new TestRequestChannel(response);

            var ret = await channel.CallAsync(request);

            ret
            .Should().BeSameAs(response);

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