@Test public void testFileContextStatistics() throws IOException {
FileContext.clearStatistics();
final Path rootPath=getTestRootPath(fc,"test");
final Path path=new Path(rootPath,"zoo");
createFile(path);
byte[] bb=new byte[data.length];
FSDataInputStream fsdis=fc.open(path);
try {
fsdis.read(bb);
}
finally {
fsdis.close();
}
assertArrayEquals(data,bb);
FileContext.printStatistics();
}