We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 161e5d7 commit d82b065Copy full SHA for d82b065
1 file changed
src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java
@@ -930,6 +930,7 @@ void testIsAssignableGenericListTypes() throws NoSuchFieldException {
930
@SuppressWarnings("boxing") // boxing is deliberate here
931
@Test
932
void testIsInstance() throws NoSuchFieldException {
933
+ assertFalse(TypeUtils.isInstance(1, null));
934
final Type intComparableType = getClass().getField("intComparable").getGenericType();
935
final Type uriComparableType = getClass().getField("uriComparable").getGenericType();
936
assertTrue(TypeUtils.isInstance(1, intComparableType));
0 commit comments