@Test
public void testClose() throws IOException {

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