expect(
      query.reachesRelationship(
        new Relationship(
          'rel1',
          new EntityPointer('entity1'),