StringUtils { public static String prependProtocol(String value) { if (value == null) { return value; } if (!value.startsWith(HTTP)) { return HTTP + ": } return value; } private  StringUtils(); static String camelCaseToHumanFriendly(String camelCaseString, boolean capitalize); static String getHtmlLineBreak(); static boolean isValidEmail(String value); static String prependProtocol(String value); static String propertyIdToHumanFriendly(Object propertyId, boolean capitalize); static String restrictToMaxFieldLength(String value, Class<?> clazz, String fieldName); static final String HTML_LINE_BREAK; }
@Test public void testPrependProtocol() { assertEquals("http: assertEquals("http: }