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

            _consumerService.DisableDataStreamAsync(depositId, client).Returns(depositId);
            var result = await _rpc.ndm_disableDataStream(depositId, client);

            await _consumerService.Received().DisableDataStreamAsync(depositId, client);

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