ManageAudienceClientImpl implements ManageAudienceClient { @Override public CompletableFuture<GetAudienceDataResponse> getAudienceData(long audienceGroupId) { return toFuture(retrofitImpl.getAudienceData(audienceGroupId)); }  @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 getAudienceData() throws Exception { final GetAudienceDataResponse response = GetAudienceDataResponse .builder() .build(); whenCall(retrofitMock.getAudienceData(anyLong()), response); final GetAudienceDataResponse actual = target.getAudienceData(4649L).get(); verify(retrofitMock, only()).getAudienceData(4649L); assertThat(actual).isEqualTo(response); }