use of net.java.slee.resource.diameter.rx.events.AbortSessionAnswer in project jain-slee.diameter by RestComm.
the class RxFactoriesTest method hasDestinationRealmASA.
@Test
public void hasDestinationRealmASA() throws Exception {
AbortSessionAnswer asa = rxMessageFactory.createAbortSessionAnswer(rxMessageFactory.createAbortSessionRequest());
assertNull("The Destination-Host and Destination-Realm AVPs MUST NOT be present in the answer message. [RFC3588/6.2]", asa.getDestinationRealm());
}
use of net.java.slee.resource.diameter.rx.events.AbortSessionAnswer in project jain-slee.diameter by RestComm.
the class RxFactoriesTest method isAnswerASA.
// Abort-Session-Answer
@Test
public void isAnswerASA() throws Exception {
AbortSessionAnswer asa = rxMessageFactory.createAbortSessionAnswer(rxMessageFactory.createAbortSessionRequest());
assertFalse("Request Flag in Abort-Session-Answer is set.", asa.getHeader().isRequest());
}
Aggregations