@Test
public void testHasElement(){

	Assert.assertTrue(LangUtils.isEmpty(Collections.EMPTY_MAP));
	Assert.assertTrue(LangUtils.isEmpty(Collections.EMPTY_LIST));
	Assert.assertTrue(LangUtils.isEmpty(Collections.EMPTY_SET));
	
	Assert.assertFalse(LangUtils.hasElement(Collections.EMPTY_MAP));
	Assert.assertFalse(LangUtils.hasElement(Collections.EMPTY_LIST));
	Assert.assertFalse(LangUtils.hasElement(Collections.EMPTY_SET));
	
	int[] ints = new int[]{};
	Assert.assertTrue(LangUtils.isEmpty(ints));
	Assert.assertFalse(LangUtils.hasElement(ints));
	ints = new int[]{0};
	Assert.assertTrue(LangUtils.hasElement(ints));
	
	Object obj = new Object[]{"aaa", Long.valueOf(1L)};
	Assert.assertFalse(LangUtils.isEmpty(obj));
	Assert.assertTrue(LangUtils.hasElement(obj));
	obj = new Object[]{null, null};
	Assert.assertFalse(LangUtils.isEmpty(obj));
	Assert.assertTrue(LangUtils.hasNotElement(obj));
}