String statement = "SELECT BookType.Author, BookType.Title TitleAlias FROM BookType WHERE TitleAlias <> 'Harry Potter'";
verifyResolveSelect(statement);
}
private void verifyResolveSelect(String statement) throws Exception {
CmisQueryWalker walker = traverseStatement(statement);
QueryObject qo = walker.queryObj;
Map<String,String> types = qo.getTypes();
assertTrue(1 == types.size());
List<CmisSelector> selects = qo.getSelectReferences();
assertTrue(2 == selects.size());