EmojiApi { public static EmojiChar byName(String name) { return Emoji.singleByAnnotations(name); } private  EmojiApi(); static EmojiChar byHexCode(String hex); static EmojiChar byName(String name); static EmojiChar byUnicode(String codePoint); static EmojiApi configure(); static String imageTagByUnicode(String codePoint); static String replaceUnicodeWithImages(String text); static List<EmojiChar> search(String... annotations); EmojiApi assetsURL(String assetsURL); EmojiApi assetsURL(URL assetsURL); EmojiApi format(String format); String getAssetsURL(); String getFormat(); String getImageExtension(); EmojiApi imageExtension(String imageExt);  }
@Test public void testByName() { EmojiChar ec = EmojiApi.byName("green heart"); assertNotNull(ec); }