/// <summary> /// Initializes a new instance of the <see cref="ZipUploadServiceTest"/> class. /// </summary> public ZipUploadServiceTest() { DbContext = new Mock <IDbContext>(); TransferService = new Mock <ITransferService>(); ZipUploadService = new ZipUploadService( DbContext.Object, TransferService.Object); }
/// <summary> /// Invokes the operation under test. /// </summary> /// <returns> /// The result of the operation. /// </returns> private Task <string> Act() { return(ZipUploadService.ProcessFile(_requestArgument)); }
/// <summary> /// Invokes the operation under test. /// </summary> /// <returns> /// The result of the operation. /// </returns> private Task <int> Act() { return(ZipUploadService.StoreJsonData(_requestArgument)); }