public TestRunner (ITestDisplay testDisplay) { if (testDisplay == null) throw new ArgumentNullException ("testDisplay"); _testDisplay = testDisplay; }
public void Setup() { _usbCharger = Substitute.For <IUsbCharger>(); _testDisplay = Substitute.For <ITestDisplay>(); _display = Substitute.For <IDisplay>(); _uut = new ChargeControl(_usbCharger, _display); }
public TestRunner(ITestDisplay testDisplay) { if (testDisplay == null) { throw new ArgumentNullException("testDisplay"); } _testDisplay = testDisplay; }
public void Setup() { _testDisplay = Substitute.For <ITestDisplay>(); _uut = new Display(_testDisplay); }
public Display(ITestDisplay testDisplay) { _testDisplay = testDisplay; }