METHOD_0 ( ) { hudson . IDENT_0 IDENT_1 = new hudson . METHOD_1 ( ) ; IDENT_1 . put ( STRING_0 , STRING_1 ) ; IDENT_2 . template = STRING_2 ; when ( build . METHOD_2 ( ) ) . thenReturn ( Result . IDENT_3 ) ; when ( build . METHOD_3 ( ) ) . thenReturn ( STRING_3 ) ; when ( build . getId ( ) ) . thenReturn ( STRING_1 ) ; when ( build . METHOD_4 ( any ( hudson . model . IDENT_4 . class ) ) ) . thenReturn ( IDENT_1 ) ; METHOD_5 ( build ) ; java . lang . String content = IDENT_2 . evaluate ( build , listener , IDENT_5 . IDENT_6 ) ; java . lang . String IDENT_7 = STRING_4 + STRING_5 ; java . io . InputStream in = java . lang . Thread . METHOD_6 ( ) . METHOD_7 ( ) . getResourceAsStream ( IDENT_7 ) ; java . lang . String expected = new java . util . METHOD_8 ( in ) . METHOD_9 ( STRING_6 ) . next ( ) ; if ( hudson . IDENT_8 . METHOD_10 ( ) ) { expected = expected . replace ( STRING_7 , "" ) ; } "<AssertPlaceHolder>" ; } evaluate ( hudson . model . IDENT_9 , hudson . model . IDENT_4 , java . lang . String ) { return evaluate ( build , build . METHOD_11 ( ) , listener , IDENT_10 ) ; }
org . junit . Assert . assertEquals ( expected . trim ( ) , content . trim ( ) )