mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-02 20:02:49 +08:00
add test
This commit is contained in:
parent
a300a8926e
commit
81cb7fb660
@ -33,6 +33,12 @@ import java.util.SortedSet;
|
||||
*/
|
||||
public class CollUtilTest {
|
||||
|
||||
@Test
|
||||
public void isNotEmptyTest(){
|
||||
Assert.assertFalse(CollUtil.isNotEmpty((Collection<?>) null));
|
||||
;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void newHashSetTest() {
|
||||
Set<String> set = CollUtil.newHashSet((String[]) null);
|
||||
|
Loading…
Reference in New Issue
Block a user