@Test
    public void checkEmojiFitzpatricFlag() {
        final int len = emoji.toCharArray().length;
        boolean shouldContainFitzpatric = false;
        int codepoint;
        for (int i = 0; i < len; i++) {
            codepoint = emoji.codePointAt(i);
            shouldContainFitzpatric = Arrays.binarySearch(FITZPATRIC_CODEPOINTS, codepoint) >= 0;
            if (shouldContainFitzpatric) {
                break;
            }
        }

        if (shouldContainFitzpatric) {
            EmojiParser.parseFromUnicode(emoji, new EmojiParser.EmojiTransformer() {
                public String transform(EmojiParser.UnicodeCandidate unicodeCandidate) {
                    if (unicodeCandidate.hasFitzpatrick()) {
                        assertTrue("Asserting emoji contains fitzpatric: " + emoji + " " + unicodeCandidate.getEmoji(),
                                unicodeCandidate.getEmoji().supportsFitzpatrick());
                    }
                    return "";
                }
            });
        }
    }
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