METHOD_0 ( ) { java . lang . String code = STRING_0 + ( STRING_1 + STRING_2 ) ; java . lang . String expected = STRING_3 ; org . IDENT_0 . IDENT_1 . IDENT_2 parser = org . IDENT_0 . IDENT_1 . IDENT_3 . METHOD_1 ( org . IDENT_0 . IDENT_1 . IDENT_4 . class , org . IDENT_0 . IDENT_1 . IDENT_2 . class , code ) ; org . antlr . v4 . runtime . tree . IDENT_5 tree = parser . parse ( ) ; java . lang . String result = new org . IDENT_0 . IDENT_1 . METHOD_2 ( ) . METHOD_3 ( tree ) ; result = result . replaceAll ( STRING_4 , " " ) ; result = result . trim ( ) ; "<AssertPlaceHolder>" ; } parse ( ) { org . IDENT_0 . util . IDENT_6 IDENT_7 = ( ( org . IDENT_0 . util . IDENT_6 ) ( org . IDENT_0 . util . IDENT_8 . METHOD_4 ( IDENT_9 ) . get ( 0 ) ) ) ; IDENT_10 = new java . util . ArrayList ( ) ; for ( int i = 1 ; i < ( IDENT_7 . size ( ) ) ; ++ i ) { org . IDENT_0 . util . IDENT_11 IDENT_12 = ( ( org . IDENT_0 . util . IDENT_11 ) ( IDENT_7 . get ( i ) ) ) ; IDENT_10 . add ( IDENT_12 . METHOD_5 ( ) ) ; } IDENT_13 = true ; }
org . junit . Assert . assertEquals ( expected , result )