Exemplo 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()
 {
     _mockDeleteCompanyRepository = new Mock <IDeleteCompanyRepository>();
     _deleteCompany = new DeleteCompany(_mockDeleteCompanyRepository.Object);
 }