"public void someMethod(int a) {" +
"\n for(int i=0;i<a;i++) {" +
"\n bum(i)" +
"\n }" +
"\n}";
StringOutStream res = new StringOutStream();
try {
formatter.format(new StringInStream(code), res, options);
} catch (FormatterException e){
}catch (StreamException e){}
assertEquals(resCode, res.show());
}