### Question:
Checksum { public ChecksumData computeChecksum(byte[] data, int off, int len) throws OzoneChecksumException { return computeChecksum(ByteBuffer.wrap(data, off, len)); } Checksum(ChecksumType type, int bytesPerChecksum); @VisibleForTesting  Checksum(); static ByteString int2ByteString(int n); ChecksumData computeChecksum(byte[] data, int off, int len); ChecksumData computeChecksum(byte[] data); ChecksumData computeChecksum(ByteBuffer data); ChecksumData computeChecksum(ChunkBuffer data); static boolean verifyChecksum(ByteString byteString,
      ChecksumData checksumData, int startIndex); static boolean verifyChecksum(byte[] data, ChecksumData checksumData); @VisibleForTesting static ContainerProtos.ChecksumData getNoChecksumDataProto(); static final Logger LOG; }### Answer:
@Test public void testIncorrectChecksum() throws Exception { Checksum checksum = getChecksum(null); byte[] data = RandomStringUtils.randomAlphabetic(55).getBytes(); ChecksumData originalChecksumData = checksum.computeChecksum(data); data[50] = (byte) (data[50]+1); ChecksumData newChecksumData = checksum.computeChecksum(data); Assert.assertNotEquals("Checksums should not match for different data", originalChecksumData, newChecksumData); }