public async Task TestCreateWalletWorksForUnknownType() { var config = JsonConvert.SerializeObject(new { id = WalletUtils.GetWalletId(), storage_type = "unknown_type" }); var ex = await Assert.ThrowsExceptionAsync <UnknownWalletTypeException>(() => Wallet.CreateWalletAsync(config, WALLET_CREDENTIALS) ); }
public async Task TestCreateWalletWorksForEmptyType() { var config = JsonConvert.SerializeObject(new { id = WalletUtils.GetWalletId() }); await Wallet.CreateWalletAsync(config, WALLET_CREDENTIALS); }