### Question:
ClientPool extends Pool<ApiClient> { public static ClientPool getInstance() { return SINGLETON; }  static void initialize(ThreadFactory threadFactory); static ClientPool getInstance();  }### Answer:
@Test public void onTake_returnApiClient() { assertThat(ClientPool.getInstance().take(), instanceOf(ApiClient.class)); }
@Test public void afterRecycle_takeReturnsSameClient() { ApiClient apiClient = ClientPool.getInstance().take(); ClientPool.getInstance().recycle(apiClient); assertThat(ClientPool.getInstance().take(), sameInstance(apiClient)); }