steinarb commented on code in PR #2715:
URL: https://github.com/apache/shiro/pull/2715#discussion_r3295083386


##########
lang/src/test/java/org/apache/shiro/lang/util/ClassUtilsTest.java:
##########
@@ -84,4 +85,17 @@ void testGetClass() {
         
assertThat(ClassUtils.forName(ClassUtilsTest.class.getName())).isEqualTo(ClassUtilsTest.class);
         
assertThat(ClassUtils.forName(ClassUtilsTest[].class.getName())).isEqualTo(ClassUtilsTest[].class);
     }
+
+    @Test
+    void inputStreamFileLoading() throws IOException {

Review Comment:
   FWIW If a test can throw a checked exception, I usually just go for 
declaring throwing of the Exception base class. That way I won't get extra 
clutter if methods needs to throw more checked exception.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to