@Test
public void testGetAllEmojis() throws Exception {

    DateTimeFormatter dtf = DateTimeUtils.PARAMETER_WITH_DAY_DTF.withZone(dtZone);
    String startTimeStr = dtf.print(mentionTime.minusDays(1));
    String endTimeStr = dtf.print(mentionTime.plusDays(1));
    List<EmojiEntity> result = underTest.getAllEmojis(startTimeStr, endTimeStr, null, null,
                                                      null);
    assertEquals(emojis.size(), result.size());
    Set<EmojiEntity> resultEmojiSet = Sets.newHashSet(result);
    for (EmojiEntity expectedEmoji : emojis) {
        assertTrue(resultEmojiSet.contains(expectedEmoji));
    }
}