METHOD_0 ( ) { IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_1 ( STRING_0 , STRING_1 ) ; IDENT_3 . METHOD_2 ( STRING_2 , STRING_0 ) ; IDENT_3 . save ( STRING_3 ) ; java . lang . String results = IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_3 ( new java . io . File ( STRING_3 ) ) ; java . lang . String expected = STRING_4 + "\n" ; "<AssertPlaceHolder>" ; } save ( java . lang . StringBuffer ) { if ( buf != null ) { javax . IDENT_4 . IDENT_5 IDENT_6 ; if ( ( IDENT_7 ) == null ) { IDENT_6 = new javax . IDENT_4 . METHOD_4 ( new java . io . File ( java . lang . System . getProperty ( STRING_5 ) ) ) ; } else { IDENT_6 = new javax . IDENT_4 . METHOD_4 ( IDENT_7 ) ; } IDENT_6 . METHOD_5 ( METHOD_4 . IDENT_8 ) ; int IDENT_9 = IDENT_6 . METHOD_6 ( IDENT_10 ) ; if ( IDENT_9 == ( javax . IDENT_4 . METHOD_4 . IDENT_11 ) ) { java . io . File IDENT_12 = IDENT_6 . METHOD_7 ( ) ; IDENT_7 = IDENT_12 . getPath ( ) ; if ( IDENT_12 . exists ( ) ) { java . lang . Object [ ] options = new java . lang . String [ 4 ] ; options [ 0 ] = STRING_6 ; options [ 1 ] = STRING_7 ; options [ 2 ] = STRING_8 ; options [ 3 ] = STRING_9 ; javax . IDENT_4 . IDENT_13 IDENT_14 = new javax . IDENT_4 . METHOD_8 ( STRING_10 , javax . IDENT_4 . METHOD_8 . IDENT_15 , 1 , null , options ) ; javax . IDENT_4 . IDENT_16 IDENT_17 = IDENT_14 . METHOD_9 ( IDENT_10 , STRING_11 ) ; IDENT_17 . METHOD_10 ( true ) ; java . lang . Object IDENT_18 = IDENT_14 . getValue ( ) ; if ( IDENT_18 == null ) { } else { for ( int i = 0 ; i < 4 ; i ++ ) { if ( options [ i ] . equals ( IDENT_18 ) ) { switch ( i ) { case 0 : return METHOD_11 ( buf , IDENT_12 , true ) ; case 1 : return METHOD_11 ( buf , IDENT_12 , false ) ; case 2 : return save ( buf ) ; case 3 : break ; } } } } } else { METHOD_11 ( buf , IDENT_12 , false ) ; } } else { return false ; } } return false ; }
org . junit . Assert . assertEquals ( expected , results )