use of net.java.slee.resource.diameter.ro.events.RoCreditControlRequest in project jain-slee.diameter by RestComm.
the class RoMessageFactoryImpl method createRoCreditControlRequest.
public RoCreditControlRequest createRoCreditControlRequest(String sessionId) /*, CcRequestType type*/
{
RoCreditControlRequest ro = this.createRoCreditControlRequest();
ro.setSessionId(sessionId);
// ro.setCcRequestType(type);
return ro;
}
use of net.java.slee.resource.diameter.ro.events.RoCreditControlRequest in project jain-slee.diameter by RestComm.
the class RoFactoriesTest method testGettersAndSettersCCR.
@Test
public void testGettersAndSettersCCR() throws Exception {
RoCreditControlRequest ccr = roMessageFactory.createRoCreditControlRequest();
int nFailures = RoAvpAssistant.INSTANCE.testMethods(ccr, RoCreditControlRequest.class);
assertEquals("Some methods have failed. See logs for more details.", 0, nFailures);
}
use of net.java.slee.resource.diameter.ro.events.RoCreditControlRequest in project jain-slee.diameter by RestComm.
the class RoFactoriesTest method isRequestCCR.
@Test
public void isRequestCCR() throws Exception {
RoCreditControlRequest ccr = roMessageFactory.createRoCreditControlRequest();
assertTrue("Request Flag in Credit-Control-Request is not set.", ccr.getHeader().isRequest());
}
Aggregations