@Test
public void testIsNotEmpty() {

    List list1 = null;
    List list2 = new ArrayList();
    List list3 = new ArrayList();
    list3.add(1);
    Assert.assertTrue(CommonUtils.isEmpty(list1));
    Assert.assertTrue(CommonUtils.isEmpty(list2));
    Assert.assertFalse(CommonUtils.isEmpty(list3));
    Assert.assertFalse(CommonUtils.isNotEmpty(list1));
    Assert.assertFalse(CommonUtils.isNotEmpty(list2));
    Assert.assertTrue(CommonUtils.isNotEmpty(list3));
    Set set1 = null;
    Set set2 = new HashSet();
    Set set3 = new HashSet();
    set3.add(1);
    Assert.assertTrue(CommonUtils.isEmpty(set1));
    Assert.assertTrue(CommonUtils.isEmpty(set2));
    Assert.assertFalse(CommonUtils.isEmpty(set3));
    Assert.assertFalse(CommonUtils.isNotEmpty(set1));
    Assert.assertFalse(CommonUtils.isNotEmpty(set2));
    Assert.assertTrue(CommonUtils.isNotEmpty(set3));
    HashMap map1 = null;
    HashMap map2 = new HashMap();
    HashMap map3 = new HashMap();
    map3.put(1, 1);
    Assert.assertTrue(CommonUtils.isEmpty(map1));
    Assert.assertTrue(CommonUtils.isEmpty(map2));
    Assert.assertFalse(CommonUtils.isEmpty(map3));
    Assert.assertFalse(CommonUtils.isNotEmpty(map1));
    Assert.assertFalse(CommonUtils.isNotEmpty(map2));
    Assert.assertTrue(CommonUtils.isNotEmpty(map3));
    String[] array1 = null;
    String[] array2 = new String[0];
    String[] array3 = new String[] { "11" };
    Assert.assertTrue(CommonUtils.isEmpty(array1));
    Assert.assertTrue(CommonUtils.isEmpty(array2));
    Assert.assertFalse(CommonUtils.isEmpty(array3));
    Assert.assertFalse(CommonUtils.isNotEmpty(array1));
    Assert.assertFalse(CommonUtils.isNotEmpty(array2));
    Assert.assertTrue(CommonUtils.isNotEmpty(array3));
}