Esempio n. 1
0
        public async Task RegisterNodesAsync()
        {
            var response = new RegisterNodesResponse();
            var request  = new RegisterNodesRequest();
            var channel  = new TestRequestChannel(response);

            var ret = await channel.RegisterNodesAsync(request);

            ret
            .Should().BeSameAs(response);

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