示例#1
0
 public void SetUp()
 {
     _view = Substitute.For<ILcdView>();
     _dbReader = Substitute.For<IDbReader>();
     _lcd = new Lcd(_view, _dbReader);
 }
示例#2
0
文件: Lcd.cs 项目: Robotond-club/CEH
 public Lcd(ILcdView lcdView, IDbReader dbReader)
 {
     _lcdView = lcdView;
     _dbReader = dbReader;
 }