예제 #1
0
        public void Connected_CorrectReturnBasedOnChargerMember(bool c)
        {
            _charger.Connected = c;

            Assert.That(_uut.Connected(), Is.EqualTo(c));
        }
예제 #2
0
 public void Connected_IsConnected_ReturnTrue()
 {
     _usbCharger.Connected.Returns(true);
     Assert.That(_uut.Connected(), Is.True);
 }