### Question:
ParquetIOReaderImpl implements ParquetIOReader { @Override public boolean hasBufferData() { if(readingGroup != null) { return true; } else { return false; } } ParquetIOReaderImpl(Configuration configuration, boolean doFlatten, Path path); @Override List<JSONObject> processData(int rows); @Override boolean hasBufferData(); @Override void initFileForRead(File file); @Deprecated @Override ParquetIOReader initFileForRead(Path path); @Override ParquetIOReader initFileForRead(); @Override Iterator getIterator(); @Override void readerClose(); @Override List<ParquetIOField> getSchema(); ParquetReader<Group> getReader(); Configuration getConfiguration();  }### Answer:
@Test public void testHasBufferData() throws URISyntaxException, ParquetIOException { parquetIOReader = (ParquetIOReaderImpl) new ParquetIOImpl().getParquetIOReader(false); URL dir_url = ClassLoader.getSystemResource("test_snappy.parquet"); File file = new File(dir_url.toURI()); parquetIOReader.initFileForRead(file); assert (parquetIOReader.hasBufferData() == false); }