protected override void When() { var ackRequest = new SipRequestBuilder().WithRequestLine( new SipRequestLineBuilder().WithMethod(SipMethods.Ack).Build()).Build(); Stx.ProcessRequest(new SipRequestEventBuilder().WithRequest(ackRequest).Build()); }
protected override void GivenOverride() { //((SipAbstractServerTransaction) Stx).Initialize(); _non200FinalResponse = CreateFinalResponse(302, "Moved Temporarily"); Stx.SendResponse(_non200FinalResponse); var ackRequest = new SipRequestBuilder().WithRequestLine( new SipRequestLineBuilder().WithMethod(SipMethods.Ack).Build()).Build(); Stx.ProcessRequest(new SipRequestEventBuilder().WithRequest(ackRequest).Build()); Stx.State.Should().Be(SipInviteServerTransaction.ConfirmedState); /*required assertion*/ }
protected override void When() { Stx.ProcessRequest(new SipRequestEventBuilder().Build()); }