use of net.java.slee.resource.diameter.s6a.events.ResetRequest in project jain-slee.diameter by RestComm.
the class S6aFactoriesTest method hasDestinationHostRSA.
@Test
public void hasDestinationHostRSA() throws Exception {
ResetRequest rsr = s6aMessageFactory.createResetRequest();
clientSession.fetchSessionData(rsr);
ResetAnswer rsa = clientSession.createResetAnswer();
assertNull("The Destination-Host and Destination-Realm AVPs MUST NOT be present in the answer message. [RFC3588/6.2]", rsa.getDestinationHost());
}
use of net.java.slee.resource.diameter.s6a.events.ResetRequest in project jain-slee.diameter by RestComm.
the class S6aFactoriesTest method isProxiableRSR.
@Test
public void isProxiableRSR() throws Exception {
ResetRequest rsr = s6aMessageFactory.createResetRequest();
assertTrue("The 'P' bit is not set by default in Reset-Request it should.", rsr.getHeader().isProxiable());
}
use of net.java.slee.resource.diameter.s6a.events.ResetRequest in project jain-slee.diameter by RestComm.
the class S6aFactoriesTest method isRequestRSR.
@Test
public void isRequestRSR() throws Exception {
ResetRequest rsr = s6aMessageFactory.createResetRequest();
assertTrue("Request Flag in Reset-Request is not set.", rsr.getHeader().isRequest());
}
Aggregations