StringOutStream res = new StringOutStream();
try {
formatter.format(new StringInStream(code), res, options);
} catch (FormatterException e){
}catch (StreamException e){}
assertEquals(resCode, res.show());
}
/**
* Test Formatter and options: using tabs, indention, crlf-lf
*/