METHOD_0 ( ) { java . lang . String html = org . support . project . common . util . IDENT_0 . read ( this . getClass ( ) . getResourceAsStream ( STRING_0 ) ) ; java . lang . String content = org . support . project . IDENT_1 . IDENT_2 . IDENT_3 . get ( ) . METHOD_1 ( html ) ; java . lang . String expected = STRING_1 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( org . support . project . common . util . StringUtils . isEmpty ( content ) ) { return "" ; } if ( ( ( content . indexOf ( STRING_2 ) ) != ( - 1 ) ) || ( ( content . indexOf ( STRING_3 ) ) != ( - 1 ) ) ) { if ( ( content . indexOf ( STRING_4 ) ) != ( - 1 ) ) { content = content . replace ( STRING_4 , STRING_5 ) ; } org . support . project . IDENT_1 . config . IDENT_4 IDENT_5 = org . support . project . common . config . IDENT_6 . load ( IDENT_4 . IDENT_7 , org . support . project . IDENT_1 . config . IDENT_4 . class ) ; java . io . File IDENT_8 = new java . io . File ( IDENT_5 . METHOD_2 ( ) ) ; if ( ! ( IDENT_8 . exists ( ) ) ) { IDENT_8 . METHOD_3 ( ) ; } java . lang . String name = ( org . support . project . common . util . IDENT_9 . METHOD_4 ( 16 ) ) + STRING_6 ; java . io . File IDENT_10 = new java . io . File ( IDENT_8 , name ) ; java . io . IDENT_11 IDENT_12 = new java . io . METHOD_5 ( IDENT_10 ) ; try { org . support . project . common . util . IDENT_0 . write ( IDENT_12 , content ) ; } finally { IDENT_12 . close ( ) ; } org . support . project . IDENT_1 . parser . IDENT_13 parser = org . support . project . IDENT_1 . parser . IDENT_14 . METHOD_6 ( IDENT_10 . getAbsolutePath ( ) ) ; org . support . project . IDENT_1 . vo . IDENT_15 result = parser . parse ( IDENT_10 ) ; org . support . project . IDENT_1 . IDENT_2 . IDENT_3 . LOG . debug ( ( STRING_7 + ( result . getText ( ) . length ( ) ) ) ) ; org . support . project . IDENT_1 . IDENT_2 . IDENT_3 . LOG . debug ( ( STRING_8 + ( org . support . project . common . util . StringUtils . METHOD_7 ( result . getText ( ) , INT_0 ) ) ) ) ; org . support . project . common . util . IDENT_0 . delete ( IDENT_10 ) ; return result . getText ( ) ; } return content ; }
org . junit . Assert . assertEquals ( expected , content )