@Test public void testSendMessageToMultipleUsers_withoutIsOttUsedParameter() { target.sendMessageToMultipleUsers(ACCESS_TOKEN, Collections.emptyList(), Collections.emptyList()); verify(target, times(1)).sendMessageToMultipleUsers( eq(ACCESS_TOKEN), eq(Collections.emptyList()), eq(Collections.emptyList()), eq(false)); }
@NonNull public LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers( @NonNull InternalAccessToken accessToken, @NonNull List<String> targetUserIds, @NonNull List<MessageData> messages) { return sendMessageToMultipleUsers(accessToken, targetUserIds, messages, false); }
TalkApiClient { @NonNull public LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers( @NonNull InternalAccessToken accessToken, @NonNull List<String> targetUserIds, @NonNull List<MessageData> messages) { return sendMessageToMultipleUsers(accessToken, targetUserIds, messages, false); } }
TalkApiClient { @NonNull public LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers( @NonNull InternalAccessToken accessToken, @NonNull List<String> targetUserIds, @NonNull List<MessageData> messages) { return sendMessageToMultipleUsers(accessToken, targetUserIds, messages, false); } TalkApiClient(Context applicationContext, @NonNull Uri apiBaseUrl); @VisibleForTesting  TalkApiClient(
            @NonNull Uri apiBaseUrl,
            @NonNull ChannelServiceHttpClient httpClient); }
TalkApiClient { @NonNull public LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers( @NonNull InternalAccessToken accessToken, @NonNull List<String> targetUserIds, @NonNull List<MessageData> messages) { return sendMessageToMultipleUsers(accessToken, targetUserIds, messages, false); } TalkApiClient(Context applicationContext, @NonNull Uri apiBaseUrl); @VisibleForTesting  TalkApiClient(
            @NonNull Uri apiBaseUrl,
            @NonNull ChannelServiceHttpClient httpClient); @NonNull LineApiResponse<LineProfile> getProfile(@NonNull InternalAccessToken accessToken); @NonNull LineApiResponse<LineFriendshipStatus> getFriendshipStatus(@NonNull InternalAccessToken accessToken); @NonNull LineApiResponse<GetFriendsResponse> getFriends(
            @NonNull InternalAccessToken accessToken,
            @NonNull FriendSortField sortField,
            @Nullable String pageToken,
            boolean isForOttShareMessage); @NonNull LineApiResponse<GetGroupsResponse> getGroups(
            @NonNull InternalAccessToken accessToken,
            @Nullable String pageToken,
            boolean isForOttShareMessage); @NonNull LineApiResponse<GetFriendsResponse> getFriendsApprovers(
            @NonNull InternalAccessToken accessToken,
            @NonNull FriendSortField sortField,
            @Nullable String nextPageRequestToken); @NonNull LineApiResponse<GetFriendsResponse> getGroupApprovers(
            @NonNull InternalAccessToken accessToken,
            @NonNull String groupId,
            @Nullable String nextPageRequestToken); @NonNull LineApiResponse<String> sendMessage(
            @NonNull InternalAccessToken accessToken,
            @NonNull String targetUserId,
            @NonNull List<MessageData> messages); @NonNull LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers(
            @NonNull InternalAccessToken accessToken,
            @NonNull List<String> targetUserIds,
            @NonNull List<MessageData> messages); @NonNull LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers(
            @NonNull InternalAccessToken accessToken,
            @NonNull List<String> targetUserIds,
            @NonNull List<MessageData> messages,
            boolean isOttUsed); @NonNull LineApiResponse<Boolean> getOpenChatAgreementStatus(
            @NonNull InternalAccessToken accessToken); @NonNull LineApiResponse<OpenChatRoomInfo> createOpenChatRoom(
            @NonNull InternalAccessToken accessToken,
            @NonNull OpenChatParameters openChatParameters); @NonNull LineApiResponse<Boolean> joinOpenChatRoom(
            @NonNull InternalAccessToken accessToken,
            @NonNull String roomId,
            @NonNull String displayName); @NonNull LineApiResponse<OpenChatRoomStatus> getOpenChatRoomStatus(
            @NonNull InternalAccessToken accessToken,
            @NonNull String roomId); @NonNull LineApiResponse<MembershipStatus> getOpenChatMembershipStatus(
            @NonNull InternalAccessToken accessToken,
            @NonNull String roomId); @NonNull LineApiResponse<OpenChatRoomJoinType> getOpenChatRoomJoinType(
            @NonNull InternalAccessToken accessToken,
            @NonNull String roomId); }
TalkApiClient { @NonNull public LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers( @NonNull InternalAccessToken accessToken, @NonNull List<String> targetUserIds, @NonNull List<MessageData> messages) { return sendMessageToMultipleUsers(accessToken, targetUserIds, messages, false); } TalkApiClient(Context applicationContext, @NonNull Uri apiBaseUrl); @VisibleForTesting  TalkApiClient(
            @NonNull Uri apiBaseUrl,
            @NonNull ChannelServiceHttpClient httpClient); @NonNull LineApiResponse<LineProfile> getProfile(@NonNull InternalAccessToken accessToken); @NonNull LineApiResponse<LineFriendshipStatus> getFriendshipStatus(@NonNull InternalAccessToken accessToken); @NonNull LineApiResponse<GetFriendsResponse> getFriends(
            @NonNull InternalAccessToken accessToken,
            @NonNull FriendSortField sortField,
            @Nullable String pageToken,
            boolean isForOttShareMessage); @NonNull LineApiResponse<GetGroupsResponse> getGroups(
            @NonNull InternalAccessToken accessToken,
            @Nullable String pageToken,
            boolean isForOttShareMessage); @NonNull LineApiResponse<GetFriendsResponse> getFriendsApprovers(
            @NonNull InternalAccessToken accessToken,
            @NonNull FriendSortField sortField,
            @Nullable String nextPageRequestToken); @NonNull LineApiResponse<GetFriendsResponse> getGroupApprovers(
            @NonNull InternalAccessToken accessToken,
            @NonNull String groupId,
            @Nullable String nextPageRequestToken); @NonNull LineApiResponse<String> sendMessage(
            @NonNull InternalAccessToken accessToken,
            @NonNull String targetUserId,
            @NonNull List<MessageData> messages); @NonNull LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers(
            @NonNull InternalAccessToken accessToken,
            @NonNull List<String> targetUserIds,
            @NonNull List<MessageData> messages); @NonNull LineApiResponse<List<SendMessageResponse>> sendMessageToMultipleUsers(
            @NonNull InternalAccessToken accessToken,
            @NonNull List<String> targetUserIds,
            @NonNull List<MessageData> messages,
            boolean isOttUsed); @NonNull LineApiResponse<Boolean> getOpenChatAgreementStatus(
            @NonNull InternalAccessToken accessToken); @NonNull LineApiResponse<OpenChatRoomInfo> createOpenChatRoom(
            @NonNull InternalAccessToken accessToken,
            @NonNull OpenChatParameters openChatParameters); @NonNull LineApiResponse<Boolean> joinOpenChatRoom(
            @NonNull InternalAccessToken accessToken,
            @NonNull String roomId,
            @NonNull String displayName); @NonNull LineApiResponse<OpenChatRoomStatus> getOpenChatRoomStatus(
            @NonNull InternalAccessToken accessToken,
            @NonNull String roomId); @NonNull LineApiResponse<MembershipStatus> getOpenChatMembershipStatus(
            @NonNull InternalAccessToken accessToken,
            @NonNull String roomId); @NonNull LineApiResponse<OpenChatRoomJoinType> getOpenChatRoomJoinType(
            @NonNull InternalAccessToken accessToken,
            @NonNull String roomId);  }