@Test
public void testReset() throws IOException {

	AtomicBoolean resetCalled = new AtomicBoolean();
	UnsyncFilterInputStream unsyncFilterInputStream =
		new UnsyncFilterInputStream(
			new TestInputStream() {
				@Override
				public void reset() {
					resetCalled.set(true);
				}
			});
	unsyncFilterInputStream.reset();
	Assert.assertTrue(resetCalled.get());
}