Exemple #1
0
        public void ChargeControlFiresEvent_PhoneDisconnected()
        {
            //arrange
            var wasCalled = false;

            //act
            _uut.PhoneDisconnected    +=
                (o, args) => wasCalled = true;

            _uut.OnPhoneDisconnected(_uut, EventArgs.Empty);
            //assert
            Assert.True(wasCalled);
        }