test ( ) { org . IDENT_0 . IDENT_1 . context . IDENT_2 context = new org . IDENT_0 . IDENT_1 . context . METHOD_0 ( ) ; context . setName ( STRING_0 ) ; java . io . InputStream template = getClass ( ) . getResourceAsStream ( STRING_1 ) ; org . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 document = METHOD_1 ( template , context ) ; final java . util . List < org . IDENT_0 . IDENT_1 . api . IDENT_7 . IDENT_8 > IDENT_9 = new java . util . ArrayList ( ) ; org . IDENT_0 . IDENT_1 . util . IDENT_10 . IDENT_11 IDENT_12 = new org . IDENT_0 . IDENT_1 . util . IDENT_10 . METHOD_2 ( document ) { @ org . IDENT_0 . IDENT_1 . Override MOD_0 void METHOD_3 ( org . IDENT_0 . IDENT_1 . api . IDENT_7 . IDENT_8 IDENT_13 ) { IDENT_9 . add ( IDENT_13 ) ; } } ; IDENT_12 . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { org . IDENT_3 . IDENT_4 . IDENT_14 . IDENT_15 . IDENT_16 IDENT_17 = document . METHOD_5 ( ) . METHOD_6 ( ) ; java . util . List < org . IDENT_3 . IDENT_15 . IDENT_18 > IDENT_19 = METHOD_7 ( document , IDENT_20 . IDENT_21 ) ; for ( org . IDENT_3 . IDENT_15 . IDENT_18 header : IDENT_19 ) { org . IDENT_3 . IDENT_4 . IDENT_14 . IDENT_22 . IDENT_23 IDENT_24 = ( ( org . IDENT_3 . IDENT_4 . IDENT_14 . IDENT_22 . IDENT_23 ) ( IDENT_17 . METHOD_8 ( header . getId ( ) ) ) ) ; METHOD_9 ( IDENT_24 . METHOD_10 ( ) ) ; } METHOD_9 ( document . METHOD_5 ( ) . METHOD_10 ( ) ) ; java . util . List < org . IDENT_3 . IDENT_15 . IDENT_18 > IDENT_25 = METHOD_7 ( document , IDENT_20 . IDENT_26 ) ; for ( org . IDENT_3 . IDENT_15 . IDENT_18 IDENT_27 : IDENT_25 ) { org . IDENT_3 . IDENT_4 . IDENT_14 . IDENT_22 . IDENT_28 IDENT_29 = ( ( org . IDENT_3 . IDENT_4 . IDENT_14 . IDENT_22 . IDENT_28 ) ( IDENT_17 . METHOD_8 ( IDENT_27 . getId ( ) ) ) ) ; METHOD_9 ( IDENT_29 . METHOD_10 ( ) ) ; } }
org . junit . Assert . assertEquals ( 5 , IDENT_9 . size ( ) )