private static String convertToEmoji(final String input) {
            String[] emojiCodepoints = input.split(" ");
            StringBuilder sb = new StringBuilder();
            for (String emojiCodepoint : emojiCodepoints) {
                int codePoint = convertFromCodepoint(emojiCodepoint);
                sb.append(Character.toChars(codePoint));
            }
            return sb.toString();
        }
Test that checks emoji json.
<p>
    Currently contains checks for:
    <ul>
        <li>Unicode emoji presents in json</li>
        <li>Right fitzpatric flag for emoji</li>
    </ul>

<p>
    The test data is taken from: <a href="http://unicode.org/Public/emoji/4.0/emoji-test.txt">Unicode test data</a>
    related to unicode 9.0
src/test/java/com/vdurmont/emoji/EmojiJsonTest.java