public void testCallMulticallLogicAccept2nd() { IStateMachine smOut = makeOutgoingCall(); IStateMachine smInc = makeIncomingCall(2); // 1st call reserve sessionId 1 (nullproxy) // accept incoming _manager.OnUserAnswer(smInc.Session); smOut.State.onHoldConfirm(); Assert.AreEqual(EStateId.ACTIVE, smInc.StateId); Assert.AreEqual(EStateId.HOLDING, smOut.StateId); smOut.State.endCall(); Assert.AreEqual(EStateId.IDLE, smOut.StateId); smInc.State.endCall(); Assert.AreEqual(EStateId.IDLE, smInc.StateId); Assert.AreEqual(0, _manager.Count); }