METHOD_0 ( ) { java . lang . String template = net . sourceforge . IDENT_0 . view . IDENT_1 . IDENT_2 ; java . util . Map < java . lang . String , java . lang . String > data = new java . util . HashMap ( ) ; data . put ( "foo" , STRING_0 ) ; java . lang . String result = net . sourceforge . IDENT_0 . view . IDENT_3 . getInstance ( ) . METHOD_1 ( template , data ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . Object ) { IDENT_4 . template . IDENT_5 IDENT_6 = net . sourceforge . IDENT_0 . view . IDENT_3 . IDENT_7 . METHOD_2 ( template ) ; java . io . IDENT_8 out = new java . io . StringWriter ( ) ; try { IDENT_6 . process ( data , out ) ; } catch ( IDENT_4 . template . IDENT_9 e ) { net . sourceforge . IDENT_0 . view . IDENT_3 . logger . log ( IDENT_10 . IDENT_11 , STRING_1 , e ) ; } return out . toString ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , result )