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

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