@Test
public void should_close_stream() throws Exception {

    ByteArrayOutputStream out = mock(ByteArrayOutputStream.class);
    Zipper zipper = new Zipper(out);
    zipper.close();
    verify(out).flush();
    verify(out).close();
}