Пример #1
0
        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);
        }
Пример #2
0
 public void Expect_the_dialog_GetId_to_be_empty()
 {
     ClientDialog.GetId().Should().BeEmpty();
 }
Пример #3
0
 public void Expect_the_dialog_to_be_removed_from_table()
 {
     DialogTable.ContainsKey(ClientDialog.GetId()).Should().BeFalse();
 }
Пример #4
0
 public void Expect_the_dialog_to_be_in_DialogTable()
 {
     DialogTable.ContainsKey(ClientDialog.GetId()).Should().BeTrue();
 }