anchor.diff:      backend = TestBackend(
         {
           AssetId.parse('foo|lib/test.moor'): r'''
  +CREATE TABLE foo (
  +  id INT NOT NULL PRIMARY KEY AUTOINCREMENT,
  +  bar VARCHAR NOT NULL
  +);
  +
   test:
   WITH RECURSIVE
     cnt(x) AS (
  
positive.code:     expect(file.errors.errors, isEmpty);
  
      final result = file.currentResult as ParsedMoorFile;
      final query = result.resolvedQueries.single as SqlSelectQuery;
  
      expect(query.name, 'test');
      expect(query.variables, isEmpty);
      expect(query.declaredInMoorFile, isTrue);
      expect(query.readsFrom, isEmpty);
  
negative.code:     expect(resultSet.columns.map(resultSet.dartNameFor), ['x']);
      expect(resultSet.columns.map((c) => c.type), [ColumnType.integer]);
    });
  
    test('finds the underlying table when aliased through CFE', () {
      final file = session.registerFile(Uri.parse('package:foo/test.moor'));
      final result = file.currentResult as ParsedMoorFile;
      final query = result.resolvedQueries.firstWhere((q) => q.name == 'test2')
          as SqlSelectQuery;
  
      final resultSet = query.resultSet;
  
      expect(resultSet.matchingTable, isNotNull);
      expect(resultSet.matchingTable.displayName, 'foo');
      expect(resultSet.needsOwnClass, isFalse);
    });
  }
  