### Question:
ObjectUtils { public static boolean areSame(Object o1, Object o2) { if (o1 == null && o2 != null) return false; if (o1 != null && o2 == null) return false; if (o1 == null && o2 == null) return true; if (o1 instanceof List && o2 instanceof List) return o1 == o2; if (o1 instanceof Map && o2 instanceof Map) return o1 == o2; return o1.equals(o2); }  static boolean areSame(Object o1, Object o2);  }### Answer:
@Test public void testAreSameMethod() { Assert.assertEquals(areSame, ObjectUtils.areSame(o1, o2)); }