assertEquals(new ColumnImpl("Author", "NAME"), asColumnsClone.get("AUTHOR_NAME"));
assertEquals(c.getAsColumns(), cClone.getAsColumns());
// Check Joins
List joinsClone = cClone.getJoins();
Join joinClone = (Join) joinsClone.get(0);
assertEquals(
new ColumnImpl("Author", "AUTHOR_ID"),
joinClone.getJoinCondition().getLValue());
assertEquals(new ColumnImpl("Book", "AUTHOR_ID"),
joinClone.getJoinCondition().getRValue());
assertEquals(Criteria.INNER_JOIN, joinClone.getJoinType());
assertEquals(c.getJoins(), cClone.getJoins());
// Some Criterion checks
Criterion cnClone = cClone.getCriterion(new ColumnImpl("Author", "NAME"));
assertEquals("author%", cnClone.getValue());