it('should add hide listeners to component if exists without tooltipCloseOnClickOutside', done => {
      const spy = spyOn(directive, 'addHideListeners').and.callThrough();
      spyOn(service, 'create').and.returnValue({
        instance: {
          element: {