ObjectsUtils { public static int hash(Object... objects) { return Arrays.hashCode(objects); }  static boolean equals(Object object1, Object object2); static int hash(Object... objects); static T requireNonNull(T object, String errorMessage); static void close(final Closeable closeable);  }
@Test public void testHash() { int result = ObjectsUtils.hash((Object[])null); int expected = 0; assertThat(result, is(expected)); result = ObjectsUtils.hash("one", "two", "three"); expected = Arrays.hashCode(HASH_VALUES); assertThat(result, is(expected)); }