Ejemplo n.º 1
0
 public CatalogueController(IProcessCatalogueFile processCatalogueFile,
                            ICatalogueDetails catalogueDetails,
                            IDeleteCompany deleteCompany,
                            IDeleteCatalogue deleteCatalogue,
                            IRetrieveCatalogue retrieveCatalogue,
                            IUpdateCompanyDetails updateCompanyDetails,
                            IProcessExport processExport,
                            IConfiguration configuration)
 {
     _processCatalogueFile = processCatalogueFile;
     _catalogueDetails     = catalogueDetails;
     _deleteCompany        = deleteCompany;
     _deleteCatalogue      = deleteCatalogue;
     _retrieveCatalogue    = retrieveCatalogue;
     _updateCompanyDetails = updateCompanyDetails;
     _processExport        = processExport;
     _configuration        = configuration;
 }
 public void Setup()
 {
     _mockRetrieveCatalogueRepo = new Mock <IRetrieveCatalogueRepository>();
     _retrieveCatalogue         = new RetrieveCatalogue(_mockRetrieveCatalogueRepo.Object);
 }