@Test
public void testDownloadByIdWithB2ContentDisposition() throws B2Exception {

    final B2DownloadByIdRequest request = B2DownloadByIdRequest
            .builder(fileId(1))
            .setB2ContentDisposition("attachment; filename=\"surprise.txt\"")
            .build();
    webifier.downloadById(ACCOUNT_AUTH, request, noopContentHandler);
    webApiClient.check("getContent.\n" +
            "url:\n" +
            "    downloadUrl1/b2api/v2/b2_download_file_by_id?fileId=4_zBlah_0000001&b2ContentDisposition=attachment%3B+filename%3D%22surprise.txt%22\n" +
            "headers:\n" +
            "    Authorization: accountToken1\n" +
            "    User-Agent: SecretAgentMan/3.19.28\n" +
            "    X-Bz-Test-Mode: force_cap_exceeded\n"
    );
    checkRequestCategory(OTHER, w -> w.downloadById(ACCOUNT_AUTH, request, noopContentHandler));
}