### Question:
StringUtils { public static String reverse(String text) { if (text == null) { return null; } return new StringBuilder(text).reverse().toString(); }  static String reverse(String text);  }### Answer:
@Test public void testReverseNull() throws Exception { assertNull(reverse(null)); }
@Test public void testReverseString() throws Exception { assertEquals("cba", reverse("abc")); }