Ejemplo n.º 1
0
        public void get_consumer_gas_limits_should_return_data()
        {
            var gasLimits = new GasLimits(70000, 90000);

            _gasLimitsService.GasLimits.Returns(gasLimits);
            var result = _rpc.ndm_getConsumerGasLimits();

            result.Data.Deposit.Should().Be(gasLimits.Deposit);
            result.Data.Refund.Should().Be(gasLimits.Refund);
        }