@Test
public void broadcast() {

    UUID retryKey = UUID.randomUUID();
    whenCall(retrofitMock.broadcast(any(String.class), any(Broadcast.class)),
             BOT_API_SUCCESS_RESPONSE_BODY);
    final Broadcast broadcast = new Broadcast(singletonList(new TextMessage("text")), true);
    final BotApiResponse botApiResponse = target.broadcast(retryKey, broadcast).join();
    verify(retrofitMock).broadcast(retryKey.toString(), broadcast);
    assertThat(botApiResponse).isEqualTo(BOT_API_SUCCESS_RESPONSE);
}