METHOD_0 ( ) { net . IDENT_0 . core . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = new net . IDENT_0 . core . IDENT_1 . IDENT_2 . METHOD_1 ( new java . io . File ( STRING_0 ) ) ; net . IDENT_0 . core . IDENT_1 . IDENT_2 . IDENT_5 block = new net . IDENT_0 . core . IDENT_1 . IDENT_2 . METHOD_2 ( IDENT_4 , STRING_1 ) ; net . IDENT_0 . core . internal . IDENT_1 . IDENT_2 . IDENT_6 serializer = new net . IDENT_0 . core . internal . IDENT_1 . IDENT_2 . METHOD_3 ( ) ; java . lang . String s = serializer . write ( block , true ) ; java . lang . String expected = STRING_2 . replace ( "\n" , java . lang . System . getProperty ( STRING_3 ) ) ; "<AssertPlaceHolder>" ; } write ( net . IDENT_0 . core . IDENT_1 . IDENT_2 . METHOD_2 , boolean ) { java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; if ( IDENT_7 ) { if ( net . IDENT_0 . core . IDENT_1 . IDENT_8 . validate ( block ) . isEmpty ( ) ) { sb . append ( block . METHOD_4 ( ) ) ; } else { for ( java . lang . String s : block . METHOD_4 ( ) . split ( "\n" ) ) { if ( ! ( s . trim ( ) . startsWith ( IDENT_9 . IDENT_10 ) ) ) sb . append ( STRING_4 ) ; sb . append ( s ) ; sb . append ( this . IDENT_11 ) ; } } } return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , s )