Inflater inflateDiction = new Inflater();
inflateDiction.setInput(outPutDiction);
if (inflateDiction.needsDictionary() == true) {
// getting the checkSum value through the Adler32 class
Adler32 adl = new Adler32();
adl.update(dictionaryArray);
long checkSumR = adl.getValue();
assertTrue(
"the checksum value returned by getAdler() is not the same as the checksum returned by creating the adler32 instance",
checkSumR == inflateDiction.getAdler());
}