@Test
public void testGetEmojis_emptyEmojiList() throws Exception {

    WebResource emojiResource = mock(WebResource.class);
    when(mockResource.path("emoji.list")).thenReturn(emojiResource);
    String emojiResponseStr = "{}";
    doReturn(emojiResponseStr).when(underTest).getJsonResultWithRetries(emojiResource,
                                                                        apiRetries);
    Map<String, String> result = underTest.getEmojis();
    assertTrue(result.isEmpty());
}