TwitterApi { static String normalizeString(String str) { final String normalizedString = Normalizer.normalize(str, Normalizer.Form.NFD); return stripNonAscii(normalizedString); } TwitterApi();  TwitterApi(String baseHostUrl); String getBaseHostUrl(); Uri.Builder buildUponBaseHostUrl(String... paths); static String buildUserAgent(String clientName, String version); static final String BASE_HOST; static final String BASE_HOST_URL; }
@Test public void testNormalizeString() { assertEquals("Twitter", TwitterApi.normalizeString("Tw" + '\u00ED' + "tter\r\n\t")); }