@Test
public void testDownloadById() throws B2Exception {

    final String expectedUrl = "downloadUrl1/b2api/v2/b2_download_file_by_id?fileId=4_zBlah_0000001";
    final B2DownloadByIdRequest request = B2DownloadByIdRequest
            .builder(fileId(1))
            .build();
    webifier.downloadById(ACCOUNT_AUTH, request, noopContentHandler);
    webApiClient.check("getContent.\n" +
            "url:\n" +
            "    " + expectedUrl + "\n" +
            "headers:\n" +
            "    Authorization: accountToken1\n" +
            "    User-Agent: SecretAgentMan/3.19.28\n" +
            "    X-Bz-Test-Mode: force_cap_exceeded\n"
    );
    assertEquals(expectedUrl, webifier.getDownloadByIdUrl(ACCOUNT_AUTH, request));
    checkRequestCategory(OTHER, w -> w.downloadById(ACCOUNT_AUTH, request, noopContentHandler));
}