protected override void GivenOverride() { /*force it to go into early state*/ var ringingResponse = CreateRingingResponse(); var c = new SipResponseEventBuilder().WithResponse(ringingResponse).WithClientTx(InviteCtx.Object).Build(); ClientDialog.ProcessResponse(c); ClientDialog.State.Should().Be(DialogState.Early); /*required assertion*/ }
protected override void GivenOverride() { /*force it to go into early state*/ var ringingResponse = CreateRingingResponse(); var c = new SipResponseEventBuilder().WithResponse(ringingResponse).WithClientTx(InviteCtx.Object).Build(); ClientDialog.ProcessResponse(c); ClientDialog.State.Should().Be(DialogState.Early); /*required assertion*/ }