* @author Greg Schueler <a href="mailto:greg@dtosolutions.com">greg@dtosolutions.com</a>
*/
public class TestINodeEntryComparator extends TestCase {
public void testCompareDefaultProperty() throws Exception {
final NodeEntryImpl node1 = new NodeEntryImpl("abc");
final NodeEntryImpl node2 = new NodeEntryImpl("def");
final NodeEntryImpl node3 = new NodeEntryImpl("ghi");
{//ascending
final INodeEntryComparator comparator = new INodeEntryComparator(null);
final TreeSet<INodeEntry> sorted = new TreeSet<INodeEntry>(comparator);
sorted.add(node1);
sorted.add(node2);