@Test public void getEnvironment() throws Exception { String url = "My awesome Horizon server"; Environment environment = new Environment(url, Environment.TEST.getNetworkPassphrase()); kinClient = new KinClient(environment, fakeKeyStore, mockTransactionSender, mockAccountInfoRetriever, mockGeneralBlockchainInfoRetriever, mockBlockchainEventsCreator, new FakeBackupRestore(), APP_ID, ""); Environment actualEnvironment = kinClient.getEnvironment(); assertNotNull(actualEnvironment); assertFalse(actualEnvironment.isMainNet()); assertEquals(url, actualEnvironment.getNetworkUrl()); assertEquals(Environment.TEST.getNetworkPassphrase(), actualEnvironment.getNetworkPassphrase()); }
public Environment getEnvironment() { return kinClientInternal.getEnvironment(); }
KinClient { public Environment getEnvironment() { return kinClientInternal.getEnvironment(); } }
KinClient { public Environment getEnvironment() { return kinClientInternal.getEnvironment(); } 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 Environment getEnvironment() { return kinClientInternal.getEnvironment(); } 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 Environment getEnvironment() { return kinClientInternal.getEnvironment(); } 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();  }