示例#1
0
        public async Task QueryFirstAsync()
        {
            var response = new QueryFirstResponse();
            var request  = new QueryFirstRequest();
            var channel  = new TestRequestChannel(response);

            var ret = await channel.QueryFirstAsync(request);

            ret
            .Should().BeSameAs(response);

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