### Question:
KinClient { public ServiceProvider getServiceProvider() { return serviceProvider; } KinClient(@NonNull Context context, @NonNull ServiceProvider provider, @NonNull String storeKey);  KinClient(@NonNull Context context, @NonNull ServiceProvider provider); @VisibleForTesting  KinClient(ServiceProvider serviceProvider, KeyStore keyStore, TransactionSender transactionSender,
        AccountActivator accountActivator, AccountInfoRetriever accountInfoRetriever,
        BlockchainEventsCreator blockchainEventsCreator, BackupRestore backupRestore); @NonNull KinAccount addAccount(); @NonNull KinAccount importAccount(@NonNull String exportedJson, @NonNull String passphrase); KinAccount getAccount(int index); boolean hasAccount(); @SuppressWarnings("WeakerAccess") int getAccountCount(); void deleteAccount(int index); @SuppressWarnings("WeakerAccess") void clearAllAccounts(); ServiceProvider getServiceProvider();  }### Answer:
@Test public void getServiceProvider() throws Exception { String url = "My awesome Horizon server"; ServiceProvider serviceProvider = new ServiceProvider(url, ServiceProvider.NETWORK_ID_TEST); kinClient = new KinClient(serviceProvider, fakeKeyStore, mockTransactionSender, mockAccountActivator, mockAccountInfoRetriever, mockBlockchainEventsCreator, new FakeBackupRestore()); ServiceProvider actualServiceProvider = kinClient.getServiceProvider(); assertNotNull(actualServiceProvider); assertFalse(actualServiceProvider.isMainNet()); assertEquals(url, actualServiceProvider.getProviderUrl()); assertEquals(ServiceProvider.NETWORK_ID_TEST, actualServiceProvider.getNetworkId()); }