@Test
public void test_Comment_InLineML() throws Exception {
// source with space after inline comment
String code = "$a = 1 + /* x */ 2\n";
XtextResource r = getResourceFromString(code);
String s = serializeFormatted(r.getContents().get(0));
assertEquals("formatting should produce wanted result", code, s);
// source without space after inline comment (one should be added).
String code2 = "$a = 1 + /* x */2\n";
r = getResourceFromString(code2);
s = serializeFormatted(r.getContents().get(0));
assertEquals("formatting should produce wanted result", code, s);
}