Search in sources :

Example 6 with GqReAuthAnswer

use of net.java.slee.resource.diameter.gq.events.GqReAuthAnswer in project jain-slee.diameter by RestComm.

the class GqFactoriesTest method isAnswerRAA.

// Re-Auth-Answer
@Test
public void isAnswerRAA() throws Exception {
    GqReAuthAnswer raa = gqMessageFactory.createGqReAuthAnswer(gqMessageFactory.createGqReAuthRequest());
    assertFalse("Request Flag in Re-Auth-Answer is set.", raa.getHeader().isRequest());
}
Also used : GqReAuthAnswer(net.java.slee.resource.diameter.gq.events.GqReAuthAnswer) Test(org.junit.Test) BaseFactoriesTest(org.mobicents.slee.resource.diameter.base.tests.factories.BaseFactoriesTest)

Example 7 with GqReAuthAnswer

use of net.java.slee.resource.diameter.gq.events.GqReAuthAnswer in project jain-slee.diameter by RestComm.

the class GqFactoriesTest method testGettersAndSettersRAA.

@Test
public void testGettersAndSettersRAA() throws Exception {
    GqReAuthAnswer raa = gqMessageFactory.createGqReAuthAnswer(gqMessageFactory.createGqReAuthRequest());
    int nFailures = GqAvpAssistant.INSTANCE.testMethods(raa, GqReAuthAnswer.class);
    assertEquals("Some methods have failed. See logs for more details.", 0, nFailures);
}
Also used : GqReAuthAnswer(net.java.slee.resource.diameter.gq.events.GqReAuthAnswer) Test(org.junit.Test) BaseFactoriesTest(org.mobicents.slee.resource.diameter.base.tests.factories.BaseFactoriesTest)

Aggregations

GqReAuthAnswer (net.java.slee.resource.diameter.gq.events.GqReAuthAnswer)7 Test (org.junit.Test)7 BaseFactoriesTest (org.mobicents.slee.resource.diameter.base.tests.factories.BaseFactoriesTest)7 GqReAuthRequest (net.java.slee.resource.diameter.gq.events.GqReAuthRequest)2 ApplicationId (org.jdiameter.api.ApplicationId)1 GqMessageFactoryImpl (org.mobicents.slee.resource.diameter.gq.GqMessageFactoryImpl)1