@Test
public void testUtf8DecodeErrorHandlingIgnore() throws IOException {

  ResettableInputStream in = initUtf8DecodeTest(DecodeErrorPolicy.IGNORE);
  int c;
  StringBuilder sb = new StringBuilder();
  while ((c = in.readChar()) != -1) {
    sb.append((char)c);
  }
  assertEquals("Latin1: ()\nLong: ()\nNonUnicode: ()\n", sb.toString());
}