Example #1
0
 public CashMachineServiceTests()
 {
     // possible to use some mocking framework here like Moq
     // I decided just to create a fake class not to introduce extra lib dependency for such a small project
     _fakeStatusService = new FakeStatusService();
 }
Example #2
0
 public CashMachineService(ICashMachineStatusService statusService)
 {
     _statusService = statusService;
 }