@Test
public void testIsEmpty() throws Exception {

    assertTrue(utils.isEmpty(null));
    assertFalse(utils.isEmpty(new Object()));
    assertFalse(utils.isEmpty(Boolean.FALSE));
    assertFalse(utils.isEmpty(Long.valueOf(0)));
    assertFalse(utils.isEmpty(Integer.valueOf(0)));
    assertFalse(utils.isEmpty(Short.valueOf((short) 0)));
    assertFalse(utils.isEmpty(Byte.valueOf((byte) 0)));
    assertTrue(utils.isEmpty(""));
    assertFalse(utils.isEmpty("s"));
    assertTrue(utils.isEmpty(new ArrayList<Object>()));
    assertTrue(utils.isEmpty(Collections.EMPTY_LIST));
    List<Object> testList = new ArrayList<Object>();
    testList.add("x");
    assertFalse(utils.isEmpty(testList));
    assertTrue(utils.isEmpty(new HashMap<String, Object>()));
    assertTrue(utils.isEmpty(Collections.EMPTY_MAP));
    Map<String, Object> testMap = new HashMap<String, Object>();
    testMap.put("x", "y");
    assertFalse(utils.isEmpty(testMap));
    assertTrue(utils.isEmpty(new Object[0]));
    assertTrue(utils.isEmpty(new int[0]));
    assertFalse(utils.isEmpty(new Object[1]));
    assertFalse(utils.isEmpty(new int[1]));
}