@FixFor( "MODE-2027" )
@Test
public void shouldSearchAllPropertiesUsingDotSelectorJCRSql2FullTextSearch() throws RepositoryException {

    String sql = "SELECT cars.[jcr:path] FROM [car:Car] AS cars WHERE contains(., 'Toyota') ";
    Query query = session.getWorkspace().getQueryManager().createQuery(sql, Query.JCR_SQL2);
    final List<String> actual = new ArrayList<String>();
    validateQuery().onEachRow(new Predicate() {
        @Override
        public void validate( int rowNumber,
                              Row row ) throws RepositoryException {
            actual.add(row.getNode().getIdentifier());
        }
    }).validate(query, query.execute());
    sql = "SELECT cars.[jcr:path] FROM [car:Car] AS cars WHERE contains(cars.*, 'Toyota')";
    query = session.getWorkspace().getQueryManager().createQuery(sql, Query.JCR_SQL2);
    final List<String> expected = new ArrayList<String>();
    validateQuery().rowCount(actual.size()).onEachRow(new Predicate() {
        @Override
        public void validate( int rowNumber,
                              Row row ) throws RepositoryException {
            expected.add(row.getNode().getIdentifier());
        }
    }).validate(query, query.execute());
    assertEquals(expected, actual);
}