Sets whether objects borrowed from the pool will be validated when
they are returned to the pool via the <code>returnObject()</code> method.
Validation is performed by the <code>validateObject()</code> method of
the factory associated with the pool. Returning objects that fail validation
are destroyed rather then being returned the pool.
@param testOnReturn <code>true</code> if objects are validated on
return to the pool via the
<code>returnObject()</code> method
Sets whether objects borrowed from the pool will be validated when they are returned to the pool via the <code>returnObject()</code> method. Validation is performed by the <code>validateObject()</code> method of the factory associated with the pool. Returning objects that fail validation are destroyed rather then being returned the pool.
@param testOnReturn <code>true</code> if objects are validated on return to the pool via the <code>returnObject()</code> method
@see #getTestOnReturn