public void uut_isConnected_test(bool a)
 {
     _usbCharger.Connected.Returns(a);
     _uut.startCharge();
     Assert.That(_uut.isConnected(), Is.EqualTo(a));
 }
예제 #2
0
 public void isConnected_Connected_False()
 {
     _usbCharger.Connected.Returns(false);
     Assert.That(_uut.isConnected(), Is.EqualTo(false));
 }