@Test
public void testGetEmojisFromMessage() {

    Message message = new Message(mentionTime, "randomFrom", "randomUserId",
                                  String.format("test message with :%s:", emoji),
                                  "randomRoomId", MessageType.MESSAGE);
    FatMessage fatMessage = new FatMessage(message, user, room);
    List<EmojiEntity> emojis = underTest.getEmojisFromMessage(fatMessage);
    assertEquals(1, emojis.size());
    EmojiEntity firstEmoji = emojis.get(0);
    assertEquals(user.getMentionName(), firstEmoji.getUsername());
    assertEquals(room.getName(), firstEmoji.getRoomName());
    assertEquals(mentionTime, firstEmoji.getMentionTime());
    assertEquals(emoji, firstEmoji.getValue());
    assertEquals(1, firstEmoji.getOccurrences());
}