@Override
    public void close() throws IOException {
        this.inStream.close();
    }
@Test
    void testClose() throws Exception {
        final AtomicBoolean closeCalled = new AtomicBoolean(false);
        InputStream mockedInputStream =
                new InputStream() {
                    @Override
                    public int read() {
                        return 0;
                    }

                    @Override
                    public void close() throws IOException {
                        closeCalled.set(true);
                        super.close();
                    }
                };
        InputStreamFSInputWrapper wrapper = new InputStreamFSInputWrapper(mockedInputStream);
        wrapper.close();
        assertThat(closeCalled).isTrue();
    }