use of net.java.slee.resource.diameter.gq.events.GqSessionTerminationAnswer in project jain-slee.diameter by RestComm.
the class GqFactoriesTest method hasDestinationHostSTA.
@Test
public void hasDestinationHostSTA() throws Exception {
GqSessionTerminationAnswer sta = gqMessageFactory.createGqSessionTerminationAnswer(gqMessageFactory.createGqSessionTerminationRequest());
assertNull("The Destination-Host and Destination-Realm AVPs MUST NOT be present in the answer message. [RFC3588/6.2]", sta.getDestinationHost());
}
use of net.java.slee.resource.diameter.gq.events.GqSessionTerminationAnswer in project jain-slee.diameter by RestComm.
the class GqFactoriesTest method hasDestinationRealmSTA.
@Test
public void hasDestinationRealmSTA() throws Exception {
GqSessionTerminationAnswer sta = gqMessageFactory.createGqSessionTerminationAnswer(gqMessageFactory.createGqSessionTerminationRequest());
assertNull("The Destination-Host and Destination-Realm AVPs MUST NOT be present in the answer message. [RFC3588/6.2]", sta.getDestinationRealm());
}
Aggregations