use of net.java.slee.resource.diameter.rx.events.AbortSessionRequest in project jain-slee.diameter by RestComm.
the class RxFactoriesTest method testGettersAndSettersASR.
@Test
public void testGettersAndSettersASR() throws Exception {
AbortSessionRequest asr = rxMessageFactory.createAbortSessionRequest();
int nFailures = RxAvpAssistant.INSTANCE.testMethods(asr, AbortSessionRequest.class);
assertEquals("Some methods have failed. See logs for more details.", 0, nFailures);
}
use of net.java.slee.resource.diameter.rx.events.AbortSessionRequest in project jain-slee.diameter by RestComm.
the class RxFactoriesTest method isProxiableASR.
@Test
public void isProxiableASR() throws Exception {
AbortSessionRequest rar = rxMessageFactory.createAbortSessionRequest();
assertTrue("The 'P' bit is not set by default in Rx' Abort-Session-Request, it should.", rar.getHeader().isProxiable());
}
Aggregations