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

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