Example #1
0
        public SampleLogicTests()
        {
            _mockSampleData = new Mock <ISampleData>();
            _mockCalculator = new Mock <ICalculator>();

            _sampleLogic = new SampleLogic(_mockCalculator.Object, _mockSampleData.Object);
        }
Example #2
0
 public HomeController(ISampleLogic sampleLogic)
 {
     _sampleLogic = sampleLogic;
 }
Example #3
0
 public ValuesController(ISampleLogic sampleLogic)
 {
     _sampleLogic = sampleLogic;
 }