@Test
public void simpleSelectTest6() throws Exception {
String statement = "SELECT t2.aaa myalias FROM cmis:document";
CmisQueryWalker walker = traverseStatementAndCatchExc(statement);
QueryObject select = walker.queryObj;
List<CmisSelector> selects = select.getSelectReferences();
assertTrue(1 == selects.size());
// nothing should be in where references
assertTrue(0 == select.getWhereReferences().size());
assertTrue(selects.get(0) instanceof ColumnReference);
ColumnReference colRef = ((ColumnReference)selects.get(0));
assertEquals("t2", colRef.getTypeQueryName());
assertEquals("aaa", colRef.getPropertyQueryName());