EmojiService extends RestService { public Mono<EmojiData> getGuildEmoji(long guildId, long emojiId) { return Routes.GUILD_EMOJI_GET.newRequest(guildId, emojiId) .exchange(getRouter()) .bodyToMono(EmojiData.class); } EmojiService(Router router); Flux<EmojiData> getGuildEmojis(long guildId); Mono<EmojiData> getGuildEmoji(long guildId, long emojiId); Mono<EmojiData> createGuildEmoji(long guildId, GuildEmojiCreateRequest request, @Nullable String reason); Mono<EmojiData> modifyGuildEmoji(long guildId, long emojiId, GuildEmojiModifyRequest request, @Nullable String reason); Mono<Void> deleteGuildEmoji(long guildId, long emojiId, @Nullable String reason);  }
@Test public void testGetGuildEmoji() { emojiService.getGuildEmoji(guild, permanentEmoji).block(); }