@Test
public void testClose() throws Exception {

    InputStream stream = mock(InputStream.class);
    victim = new ReadOnlyFilteredCOSStream(dictionary, stream, 10);
    victim.close();
    verify(stream).close();
}