### Question:
UserClientRest extends BaseClientRest implements UserClient { @Override public void logout(StreamObserver<Logout> logoutObserver) { LogoutRequest logoutRequest = new LogoutRequest.Builder().build(); String url = buildLoginUrl(); deleteRequest(url, logoutRequest, logoutObserver, new LogoutReader()); } 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("DELETE logout") void logoutTest() { when(clientConfig.getLoginUrl()).thenReturn("https: StreamObserver<Logout> streamObserver = (StreamObserver<Logout>) mock(StreamObserver.class); unit.logout(streamObserver); verify(httpClient).delete(eq("https: }