### Question:
SimpleStringUtils { public static boolean equals(String text1, String text2) { if (text1 == null) { if (text2 == null) { return true; } return false; } if (text2 == null) { return false; } return text2.equals(text1); }  static boolean equals(String text1, String text2); static String shortString(String string, int max);  }### Answer:
@Test public void null_equals_null__is_true() { assertTrue(SimpleStringUtils.equals(null, null)); }
@Test public void a_equals_a__is_true() { assertTrue(SimpleStringUtils.equals("a", "a")); }
@Test public void a_equals_null__is_false() { assertFalse(SimpleStringUtils.equals("a", null)); }
@Test public void a_equals_b__is_false() { assertFalse(SimpleStringUtils.equals("a","b")); }
@Test public void b_equals_a__is_false() { assertFalse(SimpleStringUtils.equals("b","a")); }
@Test public void null_equals_a__is_false() { assertFalse(SimpleStringUtils.equals(null,"a")); }