Object borrowedReloaded = pool.get();
assertEquals(borrowed, borrowedReloaded);
}
public void testSizeIsConstant() {
final Pool pool = new Pool(Identifiable.class, new NoOperationResetter(), getFactory());
pool.add(createIdentifiables(3));
assertEquals(3, pool.size());
Object borrowed0 = pool.get();
assertEquals(3, pool.size());