Esempio n. 1
0
        public async Task AddNodesAsync()
        {
            var response = new AddNodesResponse();
            var request  = new AddNodesRequest();
            var channel  = new TestRequestChannel(response);

            var ret = await channel.AddNodesAsync(request);

            ret
            .Should().BeSameAs(response);

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