use of org.apache.qpid.server.model.AncestorAttributeResolver in project qpid-broker-j by apache.
the class AncestorAttributeResolverTest method testBadAncestorRef.
public void testBadAncestorRef() throws Exception {
_ancestorAttributeResolver = new AncestorAttributeResolver(_car);
String actual = _ancestorAttributeResolver.resolve("ancestor:name", null);
assertNull(actual);
}
use of org.apache.qpid.server.model.AncestorAttributeResolver in project qpid-broker-j by apache.
the class AncestorAttributeResolverTest method testUnrecognisedAttributeName.
public void testUnrecognisedAttributeName() throws Exception {
_ancestorAttributeResolver = new AncestorAttributeResolver(_car);
String actual = _ancestorAttributeResolver.resolve("ancestor:notacategoty:nonexisting", null);
assertNull(actual);
}
Aggregations