public void testClearAllSections() {
Section s1 = new BasicSection( "s1" );
Section s2 = new BasicSection( "s2" );
SectionSet ss1 = new SectionSet();
ss1.addSection( s1 );
ss1.appendToSection( "s1", "1" );
ss1.appendToSection( "s2", "2" );
assertTrue( ss1.hasSection( "s1" ) );
assertTrue( ss1.hasSection( "s2" ) );
assertEquals( "1", ss1.getSection( "s1").getContent() );
assertEquals( "2", ss1.getSection( "s2").getContent() );
ss1.clearAllSections();
assertEquals( "", ss1.getSection( "s1").getContent() );
assertEquals( "", ss1.getSection( "s2").getContent() );
}