public void TestStartCharge() { _uut.startCharge(); _usbCharger.Received(1).StartCharge(); }
public void uut_isConnected_test(bool a) { _usbCharger.Connected.Returns(a); _uut.startCharge(); Assert.That(_uut.isConnected(), Is.EqualTo(a)); }