@Test
public void testGetEmojiIcons() {

    Map<String, String> emojis = ImmutableMap.of("emoji1", "http://emoji1.com",
                                                 "emoji2", "http://emoji2.com");
    when(chatApiDao.getEmojis()).thenReturn(emojis);
    EmojiMap result = underTest.getEmojiIcons();
    assertEquals(emojis, result.getCustomEmojis());
    assertNotNull(result.getUnicodeEmojis());
    ObjectMapper objectMapper = JsonObjectMapperFactory.createObjectMapper();
    Map<String, String> expectedUnicodeEmojis = LocalEmojiUtils.getUnicodeEmojis(objectMapper);
    assertEquals(expectedUnicodeEmojis, result.getUnicodeEmojis());
}