+ "<property name='attr2' value='substituted-${attr1}'/>" + "<bean alpha='${attr2}'/>" + "</root>";
StringReader input = new StringReader( xml );
Digester digester = createDigesterThatCanDoAnt();
simpleTestBeans.clear();
digester.push( this );
digester.parse( input );
assertEquals( 1, simpleTestBeans.size() );
SimpleTestBean bean = simpleTestBeans.get( 0 );
assertEquals( "substituted-prop.value1", bean.getAlpha() );