METHOD_0 ( ) { java . io . File file = new java . io . File ( STRING_0 , STRING_1 ) ; if ( ! ( file . exists ( ) ) ) { System . out . println ( STRING_2 ) ; return ; } java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; try ( org . apache . IDENT_1 . IDENT_2 . IDENT_3 doc = new org . apache . IDENT_1 . IDENT_2 . METHOD_1 ( ) ) { org . apache . IDENT_1 . IDENT_2 . IDENT_4 page = new org . apache . IDENT_1 . IDENT_2 . METHOD_2 ( ) ; doc . METHOD_3 ( page ) ; org . apache . IDENT_1 . IDENT_2 . IDENT_5 . IDENT_6 IDENT_5 = org . apache . IDENT_1 . IDENT_2 . IDENT_5 . IDENT_7 . load ( doc , file ) ; try ( org . apache . IDENT_1 . IDENT_2 . IDENT_8 cs = new org . apache . IDENT_1 . IDENT_2 . METHOD_4 ( doc , page ) ) { cs . METHOD_5 ( ) ; cs . METHOD_6 ( IDENT_5 , 10 ) ; cs . METHOD_7 ( STRING_3 ) ; cs . METHOD_8 ( ) ; } doc . save ( IDENT_0 ) ; } try ( org . apache . IDENT_1 . IDENT_2 . METHOD_1 doc = org . apache . IDENT_1 . IDENT_2 . METHOD_1 . load ( IDENT_0 . toByteArray ( ) ) ) { org . apache . IDENT_1 . text . IDENT_9 IDENT_10 = new org . apache . IDENT_1 . text . METHOD_9 ( ) ; java . lang . String text = IDENT_10 . getText ( doc ) ; "<AssertPlaceHolder>" ; } } getText ( org . apache . IDENT_1 . IDENT_2 . METHOD_1 ) { java . io . StringWriter IDENT_11 = new java . io . StringWriter ( ) ; METHOD_10 ( doc , IDENT_11 ) ; return IDENT_11 . toString ( ) ; }
org . junit . Assert . assertEquals ( STRING_3 , text . trim ( ) )