+
+ it('changeUploadTypeInstruction should return stubbed value', () => {
+ spyOn(component, 'changeUploadTypeInstruction').and.callThrough();
+ component.changeUploadTypeInstruction("functions");
+ expect(component.changeUploadTypeInstruction).toHaveBeenCalledWith("functions");
+ component.changeUploadTypeInstruction("roles");
+ expect(component.changeUploadTypeInstruction).toHaveBeenCalledWith("roles");
+ component.changeUploadTypeInstruction("roleFunctions");
+ expect(component.changeUploadTypeInstruction).toHaveBeenCalledWith("roleFunctions");
+ component.changeUploadTypeInstruction("default");
+ expect(component.changeUploadTypeInstruction).toHaveBeenCalledWith("default") ;
+ });
+
+ it('navigateUploadScreen should return stubbed value', () => {
+ spyOn(component, 'navigateUploadScreen').and.callThrough();
+ component.selectedUploadDropdown.value='functions';
+ component.navigateUploadScreen();
+ expect(component.navigateUploadScreen).toHaveBeenCalledWith();
+ component.selectedUploadDropdown.value='roles';
+ component.navigateUploadScreen();
+ expect(component.navigateUploadScreen).toHaveBeenCalledWith();
+ component.selectedUploadDropdown.value='roleFunctions';
+ component.navigateUploadScreen();
+ expect(component.navigateUploadScreen).toHaveBeenCalledWith();
+ component.selectedUploadDropdown.value='default';
+ component.navigateUploadScreen();
+ expect(component.navigateUploadScreen).toHaveBeenCalledWith();
+ });
+ it('navigateSelectTypeUpload should return stubbed value', () => {
+ spyOn(component, 'navigateSelectTypeUpload').and.callThrough();
+ component.navigateSelectTypeUpload();
+ expect(component.navigateSelectTypeUpload).toHaveBeenCalledWith();
+ });
+
+ it('getSortOrder should return stubbed value', () => {
+ spyOn(component, 'getSortOrder').and.callThrough();
+ component.getSortOrder(1,true);
+ expect(component.getSortOrder).toHaveBeenCalledWith(1,true);
+ });