public void Expect_the_Id_of_the_dialog_to_be_CallId_FromTag_ToTag_concatenated() { string expectedId = InvitingRequest.CallId.Value; expectedId += ":" + InvitingRequest.From.Tag; expectedId += ":" + ReceivedResponse.To.Tag; ClientDialog.GetId().Should().Be(expectedId); }
public void Expect_the_dialog_GetId_to_be_empty() { ClientDialog.GetId().Should().BeEmpty(); }
public void Expect_the_dialog_to_be_removed_from_table() { DialogTable.ContainsKey(ClientDialog.GetId()).Should().BeFalse(); }
public void Expect_the_dialog_to_be_in_DialogTable() { DialogTable.ContainsKey(ClientDialog.GetId()).Should().BeTrue(); }