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(); }
public CashMachineService(ICashMachineStatusService statusService) { _statusService = statusService; }