### Question:
ASTObjPath extends ASTPath { @Override public void appendAsString(Appendable out) throws IOException { out.append(path); } ASTObjPath(int id);  ASTObjPath();  ASTObjPath(Object value); @Override Expression shallowCopy(); @Override void appendAsEJBQL(List<Object> parameterAccumulator, Appendable out, String rootId); @Override void appendAsString(Appendable out); @Override int getType(); static final String OBJ_PREFIX; }### Answer:
@Test public void testAppendAsString() throws IOException { StringBuilder buffer = new StringBuilder(); new ASTObjPath("x.y").appendAsString(buffer); assertEquals("x.y", buffer.toString()); }