Exemplo n.º 1
0
        public async Task disable_data_streams_should_return_deposit_id()
        {
            var depositId = TestItem.KeccakA;

            _consumerService.DisableDataStreamsAsync(depositId).Returns(depositId);
            var result = await _rpc.ndm_disableDataStreams(depositId);

            await _consumerService.Received().DisableDataStreamsAsync(depositId);

            result.Data.Should().Be(depositId);
        }