assertThatFormattingWorksCorrectly();
}
private void assertThatFormattingWorksCorrectly() {
ICompositeNode rootNode = commentReader.rootNode();
IFormattedRegion region = formatter.format(rootNode, 0, rootNode.getText().length());
String formatted = region.getFormattedText();
assertEquals(commentReader.expectedText(), formatted);
}