@Test
public void testDeleteFileVersion() throws B2Exception {

    final B2DeleteFileVersionRequest request = B2DeleteFileVersionRequest.builder(fileName(1), fileId(1)).build();
    client.deleteFileVersion(request);
    verify(webifier, times(1)).deleteFileVersion(anyObject(), eq(request));
    final B2FileVersion fileVersion = makeVersion(1, 1);
    client.deleteFileVersion(fileVersion);
    verify(webifier, times(2)).deleteFileVersion(anyObject(), eq(request));
    // for coverage
    //noinspection ResultOfMethodCallIgnored
    request.hashCode();
    final B2DeleteFileVersionResponse response = new B2DeleteFileVersionResponse(fileId(1), fileName(1));
    assertEquals(response, new B2DeleteFileVersionResponse(fileId(1), fileName(1)));
    //noinspection ResultOfMethodCallIgnored
    response.hashCode();
    assertEquals("B2DeleteFileVersionResponse{fileId='" + fileId(1) + "', fileName='" + fileName(1) + "'}", response.toString());
}