METHOD_0 ( ) { org . IDENT_0 . Element e = IDENT_1 . METHOD_1 ( STRING_0 ) ; java . util . List < org . IDENT_0 . Element > IDENT_2 = parser . METHOD_2 ( e ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . IDENT_0 . Element ) { java . util . List < org . IDENT_0 . Element > list = e . elements ( ) ; java . util . List < org . IDENT_0 . Element > IDENT_2 = new java . util . ArrayList < org . IDENT_0 . Element > ( ) ; for ( org . IDENT_0 . Element element : list ) { if ( STRING_1 . equals ( element . getName ( ) ) ) { IDENT_2 . add ( element ) ; } } return IDENT_2 ; }
org . junit . Assert . assertEquals ( IDENT_2 . size ( ) , 2 )