Use assertThrows.
authorGary Gregory <gardgregory@gmail.com>
Sat, 14 Aug 2021 01:19:47 +0000 (21:19 -0400)
committerGary Gregory <gardgregory@gmail.com>
Sat, 14 Aug 2021 01:19:47 +0000 (21:19 -0400)
commitb5bf4b1d8c08c74992a961b388e5542b75397d91
treefcc3ad7dfdb4d144c085cefb645755c2dbd3a5b8
parent057eed65a559d0b4408ca2fb9a823510ad3fedf4
Use assertThrows.
src/test/java/org/apache/commons/pool2/TestBaseObjectPool.java
src/test/java/org/apache/commons/pool2/TestKeyedObjectPool.java
src/test/java/org/apache/commons/pool2/TestObjectPool.java
src/test/java/org/apache/commons/pool2/TestPoolUtils.java
src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
src/test/java/org/apache/commons/pool2/impl/TestLinkedBlockingDeque.java