Function frame_support::traits::tokens::fungible::conformance_tests::regular::mutate::transfer_protect_preserve
source · pub fn transfer_protect_preserve<T, AccountId>()where
T: Mutate<AccountId>,
<T as Inspect<AccountId>>::Balance: AtLeast8BitUnsigned + Debug,
AccountId: AtLeast8BitUnsigned,
Expand description
Test Mutate::transfer
with Preservation::Protect
and Preservation::Preserve
transferring the entire balance.
This test verifies that attempting to transfer the entire balance with returns an error when preservation should not allow it, and the account balances, total issuance, and active issuance values remain unchanged.