}
@Test
public void testFormat2() {
MuSyntax syntax = new MuAlternation("root", new MuBackReference("root"), null);
Assert.assertEquals("<root> ::= ( <[root]> | )\n<[root]> ::= <root>", syntax.format());
syntax.resolveBackReferences();
Assert.assertEquals("<root> ::= ( <root> | )", syntax.format());
}
}