it('should be true when there is a query value', () => {
        component.queryInputValue = 'test';

        expect(component.hasQuery()).toBe(true);
      });