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