public void testSize() throws LdapException
{
DnNode<Dn> tree = new DnNode<Dn>();
assertEquals( 1, tree.size() );
tree.add( new Dn( "dc=b,dc=a" ) );
assertEquals( 3, tree.size() );
tree.add( new Dn( "dc=f,dc=a" ) );
assertEquals( 4, tree.size() );
tree.add( new Dn( "dc=a,dc=f,dc=a" ) );
assertEquals( 5, tree.size() );
tree.add( new Dn( "dc=b,dc=f,dc=a" ) );
assertEquals( 6, tree.size() );
tree.add( new Dn( "dc=z,dc=t" ) );
assertEquals( 8, tree.size() );
}