static List<String> getEmojiList(final InputStream emojiFileStream) throws IOException {
            final BufferedReader reader = new BufferedReader(new InputStreamReader(emojiFileStream));
            final List<String> result = new LinkedList<String>();

            String line = reader.readLine();
            String [] lineSplit;
            while (line != null) {
                if (!line.startsWith("#") && !line.startsWith(" ") && !line.startsWith("\n") &&
                        line.length() != 0) {
                    lineSplit = line.split(";");
                    result.add(convertToEmoji(lineSplit[0].trim()));
                }
                line = reader.readLine();
            }
            return result;
        }
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