Пример #1
0
 public void SetUp()
 {
     _view = Substitute.For<ILcdView>();
     _dbReader = Substitute.For<IDbReader>();
     _lcd = new Lcd(_view, _dbReader);
 }
Пример #2
0
 public Lcd(ILcdView lcdView, IDbReader dbReader)
 {
     _lcdView = lcdView;
     _dbReader = dbReader;
 }