}
@Test
public void testOneOf() {
StringWriter s = new StringWriter();
ATermRenderer r = new ATermManchesterSyntaxRenderer();
r.setWriter( new PrintWriter( s ) );
ATermAppl C = term( "C" );
ATermAppl D = term( "D" );
ATermAppl E = term( "E" );
r.visit( oneOf( C, D, E ) );
// oneOf inserts new list elements on top of the list
String expected = "{E D C}";
String actual = s.toString();