}
@Test
public void test1() {
StringWriter s = new StringWriter();
ATermRenderer r = new ATermManchesterSyntaxRenderer();
r.setWriter( new PrintWriter( s ) );
ATermAppl C = term( "C" );
ATermAppl D = term( "D" );
ATermAppl p = term( "p" );
r.visit( and( C, some( p, D ) ));
String expected = "(C and (p some D))";
String actual = s.toString();
assertEquals( expected, actual );