### Question:
DisplayRdfNode extends CommonNodeWrapper { public List<RDFNodeWrapper> labels() { List<RDFNodeWrapper> labels = new ArrayList<RDFNodeWrapper>(); for (Property labelProp: RDFUtil.labelProps) { labels.addAll( listPropertyValues( labelProp ) ); } Collections.sort( labels, new Comparator<RDFNodeWrapper>() { @Override public int compare( RDFNodeWrapper o1, RDFNodeWrapper o2 ) { return o1.getLexicalForm().compareTo( o2.getLexicalForm() ); } }); return labels; } DisplayRdfNode( Page page, RDFNode root );  DisplayRdfNode( Page page, RDFNodeWrapper root ); static void setPropertyOrdering( PropertyOrderingStrategy ordering ); static PropertyOrderingStrategy propertyOrdering(); List<PropertyValue> getDisplayProperties(); RDFNodeWrapper objectResourceWrapped(); List<RDFNodeWrapper> types(); List<RDFNodeWrapper> labels(); String uniqueID(); String shortUniqueID(); boolean hasAllProperties( Object... properties ); boolean hasAllProperties( List<Object> properties );  }### Answer:
@Test public void testLabels() { List<RDFNodeWrapper> labels = displayResource.labels(); assertEquals( 1, labels.size() ); assertEquals( "A Few Acres of Snow", labels.get(0).getLexicalForm() ); }