### Question:
ASTDbIdPath extends ASTDbPath { @Override public void appendAsString(Appendable out) throws IOException { out.append(DBID_PREFIX).append(path); } ASTDbIdPath(int id);  ASTDbIdPath();  ASTDbIdPath(Object value); @Override Expression shallowCopy(); @Override int getType(); @Override void appendAsEJBQL(List<Object> parameterAccumulator, Appendable out, String rootId); @Override void appendAsString(Appendable out); static final String DBID_PREFIX; }### Answer:
@Test public void testAppendAsString() throws IOException { ASTDbIdPath path = new ASTDbIdPath("test"); StringBuilder sb = new StringBuilder(); path.appendAsString(sb); assertEquals("dbid:test", sb.toString()); }