mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
change code for ObjectUtil.isNotNull
This commit is contained in:
@@ -93,4 +93,10 @@ public class ObjectUtilTest {
|
||||
final boolean basicType = ObjectUtil.isBasicType(a);
|
||||
Assert.assertTrue(basicType);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isNotNullTest(){
|
||||
String a = null;
|
||||
Assert.assertFalse(ObjectUtil.isNotNull(a));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user