@Test
@SuppressFBWarnings("PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS")
public void testSharingPool()
        throws ObjectCreationException, ObjectBorrowException, InterruptedException, TimeoutException {

  SharingObjectPool<String> pool = createTestPool();
  String obj = pool.get();
  Assert.assertEquals("O0", obj);
  String obj2 = pool.get();
  Assert.assertEquals("O1", obj2);
  pool.recycle(obj);
  String obj3 = pool.get();
  Assert.assertEquals("O0", obj3);
}