### Question:
UserClientRest extends BaseClientRest implements UserClient { @Override public void getBalance(StreamObserver<Balance> balanceObserver) { BalanceRequest balanceRequest = new BalanceRequest.Builder().build(); String url = buildSportsUrl(balanceRequest.resourcePath()); getRequest(url, balanceRequest, balanceObserver, new BalanceReader()); } UserClientRest(ConnectionManager connectionManager); @Override void login(StreamObserver<Login> loginObserver); @Override void logout(StreamObserver<Logout> logoutObserver); @Override void getAccount(StreamObserver<Account> accountObserver); @Override void getBalance(StreamObserver<Balance> balanceObserver);  }### Answer:
@Test @DisplayName("GET balance") void getBalanceTest() { when(clientConfig.getSportsUrl()).thenReturn("https: StreamObserver<Balance> streamObserver = (StreamObserver<Balance>) mock(StreamObserver.class); unit.getBalance(streamObserver); verify(httpClient).get(eq("https: }