@Test public void clearAllAccounts() { KeyPair account1 = createRandomAccount(); KeyPair account2 = createRandomAccount(); KeyPair account3 = createRandomAccount(); fakeKeyStore = new FakeKeyStore(Arrays.asList(account1, account2, account3)); kinClient = createNewKinClient(); kinClient.clearAllAccounts(); assertThat(kinClient.getAccountCount(), equalTo(0)); }
public void clearAllAccounts() { kinClientInternal.clearAllAccounts(); }
KinClient { public void clearAllAccounts() { kinClientInternal.clearAllAccounts(); } }
KinClient { public void clearAllAccounts() { kinClientInternal.clearAllAccounts(); } KinClient(@NonNull Context context, @NonNull Environment environment, String appId);  KinClient(@NonNull Context context, @NonNull Environment environment, @NonNull String appId, @NonNull String storeKey); @VisibleForTesting  KinClient(Environment environment, KeyStore keyStore, TransactionSender transactionSender,
              AccountInfoRetriever accountInfoRetriever, GeneralBlockchainInfoRetrieverImpl generalBlockchainInfoRetriever,
              BlockchainEventsCreator blockchainEventsCreator, BackupRestore backupRestore, String appId, String storeKey); }
KinClient { public void clearAllAccounts() { kinClientInternal.clearAllAccounts(); } KinClient(@NonNull Context context, @NonNull Environment environment, String appId);  KinClient(@NonNull Context context, @NonNull Environment environment, @NonNull String appId, @NonNull String storeKey); @VisibleForTesting  KinClient(Environment environment, KeyStore keyStore, TransactionSender transactionSender,
              AccountInfoRetriever accountInfoRetriever, GeneralBlockchainInfoRetrieverImpl generalBlockchainInfoRetriever,
              BlockchainEventsCreator blockchainEventsCreator, BackupRestore backupRestore, String appId, String storeKey); @NonNull KinAccount addAccount(); @NonNull KinAccount importAccount(@NonNull String exportedJson, @NonNull String passphrase); KinAccount getAccount(int index); boolean hasAccount(); int getAccountCount(); boolean deleteAccount(int index); void clearAllAccounts(); Environment getEnvironment(); Request<Long> getMinimumFee(); long getMinimumFeeSync(); String getAppId(); String getStoreKey(); }
KinClient { public void clearAllAccounts() { kinClientInternal.clearAllAccounts(); } KinClient(@NonNull Context context, @NonNull Environment environment, String appId);  KinClient(@NonNull Context context, @NonNull Environment environment, @NonNull String appId, @NonNull String storeKey); @VisibleForTesting  KinClient(Environment environment, KeyStore keyStore, TransactionSender transactionSender,
              AccountInfoRetriever accountInfoRetriever, GeneralBlockchainInfoRetrieverImpl generalBlockchainInfoRetriever,
              BlockchainEventsCreator blockchainEventsCreator, BackupRestore backupRestore, String appId, String storeKey); @NonNull KinAccount addAccount(); @NonNull KinAccount importAccount(@NonNull String exportedJson, @NonNull String passphrase); KinAccount getAccount(int index); boolean hasAccount(); int getAccountCount(); boolean deleteAccount(int index); void clearAllAccounts(); Environment getEnvironment(); Request<Long> getMinimumFee(); long getMinimumFeeSync(); String getAppId(); String getStoreKey();  }