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