Configuration
227228229230231232233234235236237
catch (IllegalStateException ise) { // expected } root.addChild( immutableChild ); // OK, ask to have it back. root.getMutableChild( "immutable-child" ).setAttribute( "attr", "attr" ); assertEquals( 1, root.getChildren( "immutable-child" ).length );
230231232233234235236237238239240
229230231232233234235236237238239