@Test
public void testDoClose() throws IOException {

    when(is.markSupported()).thenReturn(true);
    KeepOpenInputStream keepOpenInputStream = new KeepOpenInputStream(is);
    keepOpenInputStream.doClose();
    verify(is).close();
}