Beispiel #1
0
 public void BeforeEach()
 {
     _assetHardwareTypeRepository = new Mock <IAssetManagerHardwareAssetTypeRepository>();
     _logger = new Mock <ILogger>();
     _assetHardwareTypeManager = new AssetManagerHardwareTypeManager(_assetHardwareTypeRepository.Object, _logger.Object);
     _HardwareTypeController   = new HardwareTypeController(_assetHardwareTypeManager, _logger.Object);
 }
Beispiel #2
0
 public HardwareTypeController(IAssetManagerHardwareTypeManager assetHardwareTypeManager, ILogger logger)
 {
     _assetHardwareTypeManager = assetHardwareTypeManager;
     _logger = logger;
 }