### Question:
Utils { public static boolean equivalent( Object thisObj, Object thatObj ) { if (thisObj == null) { return (thatObj == null); } if (thatObj == null) return false; return thisObj.equals(thatObj); } Utils(); static boolean equivalent( Object thisObj,
                                      Object thatObj ); static String getMimeType( File file );  }### Answer:
@Test public void shouldBeEquivalentIfBothObjectsAreNull() { assertThat(Utils.equivalent(null, null), is(true)); }
@Test public void shouldBeEquivalentIfObjectsAreEqual() { String object = "object"; assertThat(Utils.equivalent(object, object), is(true)); String object2 = new String(object); assertThat(Utils.equivalent(object, object2), is(true)); }
@Test public void shouldNotBeEquivalentIfOnlyOneObjectIsNull() { assertThat(Utils.equivalent(new Object(), null), is(false)); assertThat(Utils.equivalent(null, new Object()), is(false)); }