@FixFor( "MODE-1888" )
@Test
public void shouldCaptureWarningsAboutPotentialTypos() throws RepositoryException {

    String sql = "SELECT [jcr.uuid] FROM [nt:file]";
    Query query = session.getWorkspace().getQueryManager().createQuery(sql, Query.JCR_SQL2);
    QueryResult result = query.execute();
    validateQuery().rowCount(0).warnings(1).hasColumns("jcr.uuid").validate(query, result);
}