This commit is contained in:
Looly 2020-04-21 16:06:00 +08:00
parent a300a8926e
commit 81cb7fb660

View File

@ -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);