@Test(expected = UnsupportedEncodingException.class) public void shouldHandleUnsupportedEncodingException() throws Throwable { try { MD5Util.generateMD5("someValue", "myEncoding", "MD5"); } catch (RuntimeException e) { unwrapException(e); } }
public static String generateMD5(String baseValue) { return generateMD5(baseValue, "UTF-8", "MD5"); }
MD5Util { public static String generateMD5(String baseValue) { return generateMD5(baseValue, "UTF-8", "MD5"); } }
MD5Util { public static String generateMD5(String baseValue) { return generateMD5(baseValue, "UTF-8", "MD5"); }  }
MD5Util { public static String generateMD5(String baseValue) { return generateMD5(baseValue, "UTF-8", "MD5"); }  static String generateMD5(String baseValue); }
MD5Util { public static String generateMD5(String baseValue) { return generateMD5(baseValue, "UTF-8", "MD5"); }  static String generateMD5(String baseValue);  }