public async Task ShouldEvaluateSupplierLargeQualification() { MockApplyQualificationData(Enums.PreQualificationType.Large); var _subQualificationObj = new QualificationDefault().GetApplyDocumentsModelLargeQulaification(); var result = await _sut.ApplyDocsforSupplier(_subQualificationObj, false); Assert.NotNull(result); Assert.IsType <SupplierPreQualificationDocument>(result); }
public async Task ShouldRemovePreviousQualification() { MockApplyQualificationData(Enums.PreQualificationType.Large); MoqRemoverPreviouseQualificationData(); var _subQualificationObj = new QualificationDefault().GetApplyDocumentsModelLargeQulaification(); _subQualificationObj.EditMode = true; var result = await _sut.ApplyDocsforSupplier(_subQualificationObj, false); Assert.NotNull(result); Assert.IsType <SupplierPreQualificationDocument>(result); }