@Test public void testIsImportObservedWallet(){ presenter.IsImportObservedWallet("lat1x8z5nfgjnaryutayxxkzzkrfzenpwl7k6r2a8z",true); Mockito.verify(view).enableImportObservedWallet(Mockito.anyBoolean()); }
@Override public void IsImportObservedWallet(String content, boolean isEnableCreate) { if (!TextUtils.isEmpty(content) && isEnableCreate) { getView().enableImportObservedWallet(true); } else { getView().enableImportObservedWallet(false); } }
ImportObservedPresenter extends BasePresenter<ImportObservedContract.View> implements ImportObservedContract.Presenter { @Override public void IsImportObservedWallet(String content, boolean isEnableCreate) { if (!TextUtils.isEmpty(content) && isEnableCreate) { getView().enableImportObservedWallet(true); } else { getView().enableImportObservedWallet(false); } } }
ImportObservedPresenter extends BasePresenter<ImportObservedContract.View> implements ImportObservedContract.Presenter { @Override public void IsImportObservedWallet(String content, boolean isEnableCreate) { if (!TextUtils.isEmpty(content) && isEnableCreate) { getView().enableImportObservedWallet(true); } else { getView().enableImportObservedWallet(false); } }  }
ImportObservedPresenter extends BasePresenter<ImportObservedContract.View> implements ImportObservedContract.Presenter { @Override public void IsImportObservedWallet(String content, boolean isEnableCreate) { if (!TextUtils.isEmpty(content) && isEnableCreate) { getView().enableImportObservedWallet(true); } else { getView().enableImportObservedWallet(false); } }  @Override void init(); @Override void parseQRCode(String QRCode); @Override void IsImportObservedWallet(String content, boolean isEnableCreate); @Override void checkPaste(); @Override void loadDBWalletNumber(); @Override void importWalletAddress(String walletAddress); }
ImportObservedPresenter extends BasePresenter<ImportObservedContract.View> implements ImportObservedContract.Presenter { @Override public void IsImportObservedWallet(String content, boolean isEnableCreate) { if (!TextUtils.isEmpty(content) && isEnableCreate) { getView().enableImportObservedWallet(true); } else { getView().enableImportObservedWallet(false); } }  @Override void init(); @Override void parseQRCode(String QRCode); @Override void IsImportObservedWallet(String content, boolean isEnableCreate); @Override void checkPaste(); @Override void loadDBWalletNumber(); @Override void importWalletAddress(String walletAddress);  }