pub fn can_deposit_overflow<T, AccountId>(_dust_trap: Option<AccountId>)
where T: Mutate<AccountId>, <T as Inspect<AccountId>>::Balance: AtLeast8BitUnsigned + Debug, AccountId: AtLeast8BitUnsigned,
Expand description

Test the can_deposit function for returning an overflow error.

This test verifies that the can_deposit function returns DepositConsequence::Overflow when depositing an amount that would cause an overflow.

§Type Parameters

- T: Implements Mutate<AccountId>.
- AccountId: Account identifier implementing AtLeast8BitUnsigned.