@Test(expected = PoolTakeException.class)
public void Should_getItemsWhenRequired()
        throws Exception {

    Pool pool = new Pool(3, Object::new);
    assertNotNull(pool.take());
    assertNotNull(pool.take());
    assertNotNull(pool.take());
    pool.take();
    fail();
}