fooin.setContent( footext );
Section barin = new BasicSection( barname );
barin.setContent( bartext );
SectionSet foobarin = new SectionSet();
foobarin.addSection( fooin );
foobarin.addSection( barin );
Collapser collapser = new Collapser();
Section fooout = collapser.modify( fooin, mps );
assertTrue( fooout.getContent().equals( footextcollapse ) );