Sets whether objects created for the pool will be validated before
being returned from the <code>borrowObject()</code> method. Validation is
performed by the <code>validateObject()</code> method of the factory
associated with the pool. If the object fails to validate, then
<code>borrowObject()</code> will fail.
@param testOnCreate <code>true</code> if newly created objects should be
validated before being returned from the
<code>borrowObject()</code> method
Sets whether objects created for the pool will be validated before being returned from the <code>borrowObject()</code> method. Validation is performed by the <code>validateObject()</code> method of the factory associated with the pool. If the object fails to validate, then <code>borrowObject()</code> will fail.
@param testOnCreate <code>true</code> if newly created objects should be validated before being returned from the <code>borrowObject()</code> method
@see #getTestOnCreate