METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . util . template . IDENT_2 < java . util . List < com . IDENT_0 . IDENT_1 . util . template . IDENT_3 . IDENT_4 > > template = new com . IDENT_0 . IDENT_1 . util . template . IDENT_5 < java . util . List < com . IDENT_0 . IDENT_1 . util . template . IDENT_3 . IDENT_4 > > ( ) . add ( STRING_0 ) . add ( ( t , s , i ) -> { if ( i < ( s . size ( ) ) ) { com . IDENT_0 . IDENT_1 . util . IDENT_6 . METHOD_1 ( com . IDENT_0 . IDENT_1 . util . IDENT_6 . METHOD_2 ( t , "" 0 , s . get ( i ) . getId ( ) , STRING_1 ) , s . get ( i ) . getMessage ( ) ) . append ( STRING_2 ) ; return true ; } else { return false ; } } ) . add ( STRING_3 ) . METHOD_3 ( ) ; java . util . List < com . IDENT_0 . IDENT_1 . util . template . IDENT_3 . IDENT_4 > obj = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . util . template . IDENT_3 . IDENT_4 > ( ) ; obj . add ( new com . IDENT_0 . IDENT_1 . util . template . IDENT_3 . METHOD_4 ( 1 , STRING_4 1 ) ) ; obj . add ( new com . IDENT_0 . IDENT_1 . util . template . IDENT_3 . METHOD_4 ( 2 , STRING_5 ) ) ; obj . add ( new com . IDENT_0 . IDENT_1 . util . template . IDENT_3 . METHOD_4 ( 3 , "" ) ) ; com . IDENT_0 . IDENT_1 . util . IDENT_7 target = new com . IDENT_0 . IDENT_1 . util . METHOD_5 ( ( 1 << INT_0 ) ) ; template . render ( target , obj ) ; java . lang . String result = target . toString ( ) ; java . lang . String expected = STRING_0 + ( ( ( STRING_6 + STRING_7 ) + STRING_8 ) + STRING_3 ) ; "<AssertPlaceHolder>" ; } toString ( ) { return METHOD_6 ( new java . lang . StringBuilder ( ) ) . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , result )