assertEquals( it, "anchor", "anchor_" );
SinkEventElement next = it.next();
assertEquals( "section1", next.getName() );
SinkEventAttributeSet set = (SinkEventAttributeSet) next.getArgs()[0];
assertEquals( 3, set.getAttributeCount() );
assertTrue( set.containsAttribute( "name", "section name" ) );
assertTrue( set.containsAttribute( "class", "foo" ) );
assertTrue( set.containsAttribute( "id", "bar" ) );
next = it.next();
assertEquals( "sectionTitle1", next.getName() );
assertNull( (SinkEventAttributeSet) next.getArgs()[0] );