@Test
public void testSize() {

   Assert.assertEquals(null, ObjectFunction.size(null));
   Assert.assertEquals(4, ObjectFunction.size(Arrays.<Object> asList("abc", null, true, 3)));
   HashMap<Object, Object> map = new HashMap<Object, Object>();
   map.put("first", true);
   map.put(1, 2);
   Assert.assertEquals(2, ObjectFunction.size(map));
}