public void BeforeEach() { _assetSoftwareTypeRepository = new Mock <IAssetManagerSoftwareAssetTypeRepository>(); _logger = new Mock <ILogger>(); _assetSoftwareTypeManager = new AssetManagerSoftwareTypeManager(_assetSoftwareTypeRepository.Object, _logger.Object); _SoftwareTypeController = new SoftwareTypeController(_assetSoftwareTypeManager, _logger.Object); }
public SoftwareTypeController(IAssetManagerSoftwareTypeManager assetSoftwareTypeManager, ILogger logger) { _assetSoftwareTypeManager = assetSoftwareTypeManager; _logger = logger; }