@Test
public void testClose() throws IOException {

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