}
public void testGetChildrenWithName()
throws Exception
{
final DefaultConfiguration configuration =
new DefaultConfiguration( "myElement", "file.xml:20", "" );
final DefaultConfiguration child1 =
new DefaultConfiguration( "mychild", "file.xml:20", "/myElement" );
final DefaultConfiguration child2 =
new DefaultConfiguration( "blah", "file.xml:20", "/myElement" );
final DefaultConfiguration child3 =
new DefaultConfiguration( "myOtherChild", "file.xml:20", "/myElement" );
configuration.addChild( child1 );
configuration.addChild( child2 );
configuration.addChild( child3 );