StringUtils { public static boolean equals(final String cs1, final String cs2) { if (cs1 == cs2) { return true; } if (cs1 == null || cs2 == null) { return false; } if (cs1.length() != cs2.length()) { return false; } return cs1.equals(cs2); }  static String upperCase(final String str); static boolean equals(final String cs1, final String cs2); static boolean isBlank(final String cs); static boolean isNotBlank(final String cs); static String replaceFirst(final String str, final String prefix);  }
@Test public void test_equals() { String left = "abc"; String right = "abc"; boolean result = StringUtils.equals(left, right); HyenaAssert.isTrue(result, "result is true"); }