Esempio n. 1
0
        public async Task CreateMonitoredItemsAsync()
        {
            var response = new CreateMonitoredItemsResponse();
            var request  = new CreateMonitoredItemsRequest();
            var channel  = new TestRequestChannel(response);

            var ret = await channel.CreateMonitoredItemsAsync(request);

            ret
            .Should().BeSameAs(response);

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