@Test
@SuppressWarnings("deprecation")
public void testNativeVerifyChunkedSumsFail() throws ChecksumException {

  allocateDirectByteBuffers();
  fillDataAndInvalidChecksums();
  exception.expect(ChecksumException.class);
  NativeCrc32.nativeVerifyChunkedSums(bytesPerChecksum, checksumType.id,
    checksums, checksums.position(), data, data.position(), data.remaining(),
    fileName, BASE_POSITION);
}