ManageAudienceClientImpl implements ManageAudienceClient { @Override public CompletableFuture<BotApiResponse> updateAudienceGroupDescription( long audienceGroupId, UpdateAudienceGroupDescriptionRequest request) { return toBotApiFuture(retrofitImpl.updateAudienceGroupDescription(audienceGroupId, request)); }  @Override CompletableFuture<CreateAudienceGroupResponse> createAudienceGroup(
            CreateAudienceGroupRequest request); @Override CompletableFuture<BotApiResponse> addAudienceToAudienceGroup(
            AddAudienceToAudienceGroupRequest request); @Override CompletableFuture<CreateClickBasedAudienceGroupResponse> createClickBasedAudienceGroup(
            CreateClickBasedAudienceGroupRequest request); @Override CompletableFuture<CreateImpBasedAudienceGroupResponse> createImpBasedAudienceGroup(
            CreateImpBasedAudienceGroupRequest request); @Override CompletableFuture<BotApiResponse> updateAudienceGroupDescription(
            long audienceGroupId, UpdateAudienceGroupDescriptionRequest request); @Override CompletableFuture<BotApiResponse> deleteAudienceGroup(long audienceGroupId); @Override CompletableFuture<GetAudienceGroupsResponse> getAudienceGroups(
            long page, String description, AudienceGroupStatus status, Long size,
            Boolean includesExternalPublicGroups, AudienceGroupCreateRoute createRoute); @Override CompletableFuture<GetAudienceDataResponse> getAudienceData(long audienceGroupId); @Override CompletableFuture<GetAudienceGroupAuthorityLevelResponse> getAudienceGroupAuthorityLevel(); @Override CompletableFuture<BotApiResponse> updateAudienceGroupAuthorityLevel(
            @Body UpdateAudienceGroupAuthorityLevelRequest request);  }
@Test public void updateAudienceGroupDescription() throws Exception { UpdateAudienceGroupDescriptionRequest request = UpdateAudienceGroupDescriptionRequest.builder() .description( "Hello") .build(); whenCall(retrofitMock.updateAudienceGroupDescription(anyLong(), any()), null); final BotApiResponse actual = target.updateAudienceGroupDescription(5693L, request ).get(); verify(retrofitMock, only()).updateAudienceGroupDescription(5693L, request); assertThat(actual).isEqualTo(BOT_API_SUCCESS_RESPONSE); }