assertTrue( barin.getName().equals( barname ) );
fooin.setContent( footext );
barin.setContent( bartext );
SectionSet foobarout = collapser.modify( foobarin, mps );
Enumeration sectionEnum = foobarout.enumerateSections();
while( sectionEnum.hasMoreElements() ) {
Section section = (Section) sectionEnum.nextElement();
if( fooname.equals( section.getName() ) ) {
assertTrue( section.getContent().equals( footextcollapse ) );