public void testLoadClassFormats() throws Exception {
ByteArrayOutputStream arrayOutput = new ByteArrayOutputStream(1024);
FileProfileLogger logger = new FileProfileLogger(arrayOutput);
for (int i=0;i<100;i++) {
logger.loadClass(1,1,this.getClass().getName(),10);
for (int j=0;j<10;j++) logger.loadMethod(1,1,1,"method" +j,"()");
}
ByteArrayInputStream input = new ByteArrayInputStream(arrayOutput.toByteArray());
SpyFileReader reader = new SpyFileReader(input,false);