@VisibleForTesting
    public MusicProtocol.ImportMusicPlaylistTracksResponse importMusicPlaylistItemsBatch(final String jobId, List<MusicPlaylistItem> playlistItems)
            throws CopyException, IOException, URISyntaxException {

        List<MusicProtocol.MusicTrack> convertedMusicPlaylistTracks = AppleMusicPlaylistConverter.convertToAppleMusicPlaylistTracks(playlistItems);
        final MusicProtocol.ImportMusicPlaylistTracksRequest.Builder requestBuilder = MusicProtocol.ImportMusicPlaylistTracksRequest.newBuilder();
        requestBuilder.setImportSessionId(jobId);
        requestBuilder.addAllMusicTrack(convertedMusicPlaylistTracks);

        if (JobMetadata.getExportService() != null) {
            requestBuilder.setExportService(JobMetadata.getExportService());
        }

        final byte[] responseBody = _sendPostRequest(baseUrl + API.V1.TRACKS, requestBuilder.build().toByteArray());

        return MusicProtocol.ImportMusicPlaylistTracksResponse.parseFrom(responseBody);
    }
@return the total number of playlist tracks acknowledged by the Apple Music Library Service in this page
extensions/data-transfer/portability-data-transfer-apple/src/main/java/org/datatransferproject/datatransfer/apple/music/AppleMusicInterface.java