Example #1
0
        public EnvAggressivenessServiceTest()
        {
            // Arrange
            var repository = new Mock <IEnvAggressivenessRepo>();

            repository.Setup(mock =>
                             mock.GetAll()).Returns(TestData.envAggressiveness);

            _service = new EnvAggressivenessService(repository.Object);
        }
Example #2
0
 public MarkOperatingConditionsController(
     IMarkOperatingConditionsService markOperatingConditionsService,
     IEnvAggressivenessService envAggressivenessService,
     IOperatingAreaService operatingAreaService,
     IGasGroupService gasGroupService,
     IConstructionMaterialService constructionMaterialService,
     IPaintworkTypeService paintworkTypeService,
     IHighTensileBoltsTypeService highTensileBoltsTypeService,
     IMapper mapper)
 {
     _service = markOperatingConditionsService;
     _envAggressivenessService    = envAggressivenessService;
     _operatingAreaService        = operatingAreaService;
     _gasGroupService             = gasGroupService;
     _constructionMaterialService = constructionMaterialService;
     _paintworkTypeService        = paintworkTypeService;
     _highTensileBoltsTypeService = highTensileBoltsTypeService;
     _mapper = mapper;
 }