Venkita, I think you mean that the assertions are expected to work, even though there is a B2BUA involved, right?
Russell,
An assertion like:
| Code: : |
assertThat(alice, is(connectedTo(bob)));
|
checks the following conditions:
(1) alice is in a connected state
(2) bob is in a connected state
(3) alice and bob have exchanged SDPs (i.e., the IP/port that alice said she would send on are the ones that bob received in his SDP, and vice-versa).
If you know from other assertions that (1) and (2) are satisfied, then the issue may be (3). Can you inspect the SDPs to see if they look OK?