}
public void testGetValueAsBoolean()
throws Exception
{
final DefaultConfiguration configuration =
new DefaultConfiguration( "myElement", "file.xml:20", "" );
configuration.setValue( "true" );
assertEquals( "getValue()", true, configuration.getValueAsBoolean() );
assertEquals( "getValue('false')", true, configuration.getValueAsBoolean( false ) );
}