@Test
public void getBalanceType(){

    DelegationValue delegationValue = new DelegationValue();
    delegationValue.setFree("234456");
    delegationValue.setLock("345");
    delegationValue.setMinDelegation("100");
    presenter.setmDelegationValue(delegationValue);
    Wallet wallet = new Wallet();
    wallet.setUuid("9eed1da8-58e9-4b10-8bea-2bfdd1cac433");
    wallet.setAvatar("avatar_3");
    wallet.setAddress("0x0d395e21b23f8d920f8556cbf573af9ba2ad1a59");
    wallet.setChainId("101");
    wallet.setName("Ella");
    wallet.setKeystorePath("UTC--2020-06-28T06-36-42.751--b1ca4a13ee33ed68d097223f186f65864ecdb98c9b35c664566f096761649aa7d9c9c2bc317785a5c2580b305803e5f29aafce422e49579792623575215675e7.json");
    Bech32Address bech32Address = new Bech32Address("lat1p5u4ugdj87xeyru92m9l2ua0nw326xjekflsf8","lax1p5u4ugdj87xeyru92m9l2ua0nw326xjeevdl8g");
    wallet.setBech32Address(bech32Address);
    presenter.setmWallet(wallet);
    DelegateItemInfo delegateItemInfo = new DelegateItemInfo();
    delegateItemInfo.setNodeName("测试");
    delegateItemInfo.setNodeId("101");
    presenter.setmDelegateDetail(delegateItemInfo);
   // presenter.getBalanceType();
}