protected override void GivenOverride()
        {
            _call = _phone.CreateCall();
            _call.CallErrorOccured += (s, e) => _callError = e.Item;
            _call.CallStateChanged += (s, e) => _callState = e.Item;
            _call.Start(_testClientUaUri.FormatToString());
            _waitingforInviteReceived.WaitOne();

            _phone.InternalState.Should().Be(_stateProvider.GetWaitProvisional()); /*required assertion*/
        }
Example #2
0
 void callAlice_ErrorOccured(object sender, VoipEventArgs<CallErrorObject> e)
 {
     _callErrorAlice = e.Item;
     OnAliceErrorOccured();
 }
Example #3
0
 private void callBob_ErrorOccured(object sender, VoipEventArgs<CallErrorObject> e)
 {
     _callErrorBob = e.Item;
     OnBobErrorOccured();
 }
 protected override void _calleePhone_IncomingCall(object sender, VoipEventArgs<IPhoneCall> e)
 {
     _incomingCall = e.Item;
     _incomingCall.CallStateChanged += (s, e1) => _callState = e1.Item;
     _incomingCall.CallErrorOccured += (s, e2) => _callError = e2.Item;
 }