}
@Test
public void testFilteredCharReader() throws Exception {
String string = "abcdefg";
FilteredCharReader fcr = new FilteredCharReader(new StringReader(string), new Filter() {
public boolean accept(int c) {
return c != 'c' && c != 'd' && c != 'e';
}
});
char[] buf = new char[7];