@FixFor( "MODE-1020" )
@Test
public void shouldFindAllPublishAreas() throws Exception {

    String sql = "SELECT [jcr:path], [jcr:title], [jcr:description] FROM [mode:publishArea]";
    Query query = session.getWorkspace().getQueryManager().createQuery(sql, Query.JCR_SQL2);
    QueryResult result = query.execute();
    validateQuery().rowCount(0).hasColumns("jcr:path", "jcr:title", "jcr:description").validate(query, result);
}