Пример #1
0
        public async Task refund_should_not_be_claimed_for_not_confirmed_deposit()
        {
            var deposit  = GetDepositDetails();
            var refundTo = TestItem.AddressB;
            await _refundClaimant.TryClaimRefundAsync(deposit, refundTo);

            deposit.ClaimedRefundTransaction.Should().BeNull();
            await _refundService.DidNotReceiveWithAnyArgs().ClaimRefundAsync(null, null, Arg.Any <UInt256>());

            deposit.RefundClaimed.Should().BeFalse();
        }