*/
public void test_finished() {
byte byteArray[] = { 5, 2, 3, 7, 8 };
byte outPutBuf[] = new byte[100];
Deflater defl = new Deflater();
assertTrue("Test 1: Deflater should not be finished.", !defl.finished());
defl.setInput(byteArray);
assertTrue("Test 2: Deflater should not be finished.", !defl.finished());
defl.finish();
assertTrue("Test 3: Deflater should not be finished.", !defl.finished());
while (!defl.finished()) {