+
+ it('addNewUser should return stubbed value', () => {
+ spyOn(component, 'addNewUser').and.callThrough();
+ component.addNewUser(true);
+ expect(component.addNewUser).toHaveBeenCalledWith(true);
+ });
+
+ it('changeSelectedUser should return stubbed value', () => {
+ spyOn(component, 'changeSelectedUser').and.callThrough();
+ let user = {};
+ component.changeSelectedUser(user);
+ expect(component.changeSelectedUser).toHaveBeenCalledWith(user);
+ user = {"firstName":"FirstTestName","lastName":"LastTestName","orgUserId":"TestOrgId"};
+ component.changeSelectedUser(user);
+ expect(component.changeSelectedUser).toHaveBeenCalledWith(user);
+
+ });
+
+ // it('searchUserRadioChange should return stubbed value', () => {
+ // spyOn(component, 'searchUserRadioChange').and.callThrough();
+ // MatRadio = {"value":""};
+ // component.searchUserRadioChange(eventCheck);
+ // expect(component.searchUserRadioChange).toHaveBeenCalledWith(event);
+ // event = {"value":"System"};
+ // component.searchUserRadioChange(event);
+ // expect(component.searchUserRadioChange).toHaveBeenCalledWith(event);
+
+ // });
+
+ it('navigateBack should return stubbed value', () => {
+ spyOn(component, 'navigateBack').and.callThrough();
+ component.navigateBack();
+ expect(component.navigateBack).toHaveBeenCalledWith();
+ });
+
+ it('roleSelectChange should return stubbed value', () => {
+ spyOn(component, 'roleSelectChange').and.callThrough();
+ let element = {"id":2};
+ component.roleSelectChange(element);
+ expect(component.roleSelectChange).toHaveBeenCalledWith(element);
+ });
+
+ it('getUserAppsRoles should return stubbed value', () => {
+ spyOn(component, 'getUserAppsRoles').and.callThrough();
+ component.changedSelectedUser = 'Test';
+ component.getUserAppsRoles();
+ expect(component.getUserAppsRoles).toHaveBeenCalledWith();
+ });
+
+
+