@Test
public void testFinishLargeFile() throws B2Exception {

    final B2FinishLargeFileRequest request = B2FinishLargeFileRequest
            .builder(fileId(1),
                    B2Collections.listOf("sha1_1", "sha1_2", "sha1_3"))
            .build();
    webifier.finishLargeFile(ACCOUNT_AUTH, request);
    webApiClient.check("postJsonReturnJson.\n" +
            "url:\n" +
            "    apiUrl1/b2api/v2/b2_finish_large_file\n" +
            "headers:\n" +
            "    Authorization: accountToken1\n" +
            "    User-Agent: SecretAgentMan/3.19.28\n" +
            "    X-Bz-Test-Mode: force_cap_exceeded\n" +
            "request:\n" +
            "    {\n" +
            "      \"fileId\": \"4_zBlah_0000001\",\n" +
            "      \"partSha1Array\": [\n" +
            "        \"sha1_1\",\n" +
            "        \"sha1_2\",\n" +
            "        \"sha1_3\"\n" +
            "      ]\n" +
            "    }\n" +
            "responseClass:\n" +
            "    B2FileVersion\n"
    );
    checkRequestCategory(OTHER, w -> w.finishLargeFile(ACCOUNT_AUTH, request));
}