public CCMatrixTests() { var mockMapper = new Mock <IMapper>(); _mapper = mockMapper.Object; _mapper = new MapperConfiguration(c => c.AddProfile <ApplicationMappings.ApplicationMappings>()).CreateMapper(); _mockRepository = new CCMatrixMockRepository(); _service = new CCMatrixService(_mockRepository, _mapper); _clearingCostController = new ClearingCostMatrixController(_service); }
public ClearingCostMatrixController(ICCMatrixService clearingCostService) => _clearingCostService = clearingCostService;