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