try {
assertEquals(0, inflate.inflate(outPutInf, offSet, 0));
} catch (DataFormatException e) {
fail("Invalid input to be decompressed");
}
inflate.end();
try {
inflate.inflate(outPutInf, offSet, 1);
fail("IllegalStateException expected");
} catch (DataFormatException e) {
fail("Invalid input to be decompressed");