Esempio n. 1
0
        public async Task CreateSubscriptionAsync()
        {
            var response = new CreateSubscriptionResponse();
            var request  = new CreateSubscriptionRequest();
            var channel  = new TestRequestChannel(response);

            var ret = await channel.CreateSubscriptionAsync(request);

            ret
            .Should().BeSameAs(response);

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