+
+ it('openAddNewUserModal should return stubbed value', () => {
+ spyOn(component, 'openAddNewUserModal').and.callThrough();
+ component.openAddNewUserModal();
+ expect(component.openAddNewUserModal).toHaveBeenCalledWith();
+ });
+ it('openExistingUserModal should return stubbed value', () => {
+ spyOn(component, 'openExistingUserModal').and.callThrough();
+ let user ={"firstName":"FirstTestName","lastName":"LastTestName","orgUserId":""};
+ component.openExistingUserModal(user);
+ expect(component.openExistingUserModal).toHaveBeenCalledWith(user);
+ });
+
+ it('openBulkUserUploadModal should return stubbed value', () => {
+ spyOn(component, 'openBulkUserUploadModal').and.callThrough();
+ component.openBulkUserUploadModal();
+ expect(component.openBulkUserUploadModal).toHaveBeenCalledWith();
+ });
+ it('applyDropdownFilter should return stubbed value', () => {
+ spyOn(component, 'applyDropdownFilter').and.callThrough();
+ let _appValue= {"value":"select-application"};
+ component.applyDropdownFilter(_appValue);
+ expect(component.applyDropdownFilter).toHaveBeenCalledWith(_appValue);
+ _appValue= {"value":"Test"};
+ component.applyDropdownFilter(_appValue);
+ expect(component.applyDropdownFilter).toHaveBeenCalledWith(_appValue);
+ });
+ it('applyFilter should return stubbed value', () => {
+ spyOn(component, 'applyFilter').and.callThrough();
+ component.applyFilter("Test");
+ expect(component.applyFilter).toHaveBeenCalledWith("Test");
+ });
+ it('getAdminApps should return stubbed value', () => {
+ spyOn(component, 'getAdminApps').and.callThrough();
+ component.getAdminApps();
+ expect(component.getAdminApps).toHaveBeenCalledWith();
+ });