METHOD_0 ( ) { java . lang . String IDENT_0 = ( this . getClass ( ) . getResource ( "/" ) . METHOD_1 ( ) ) + STRING_0 ; IDENT_0 = java . net . IDENT_1 . decode ( IDENT_0 , STRING_1 ) ; IDENT_0 = new java . io . File ( IDENT_0 ) . getPath ( ) ; IDENT_2 . IDENT_3 IDENT_4 = mock ( IDENT_2 . IDENT_3 . class ) ; when ( IDENT_4 . getName ( ) ) . thenReturn ( STRING_2 ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( ( ( long ) ( 8 ) ) ) ; when ( IDENT_4 . METHOD_3 ( ) ) . thenReturn ( 4 ) ; when ( IDENT_4 . METHOD_4 ( ) ) . thenReturn ( true ) ; IDENT_2 . IDENT_5 p = mock ( IDENT_2 . IDENT_5 . class ) ; when ( p . METHOD_5 ( ) ) . thenReturn ( 1 ) ; when ( p . getBytes ( ) ) . thenReturn ( "test" . getBytes ( ) ) ; IDENT_2 . IDENT_6 writer = new IDENT_2 . METHOD_6 ( IDENT_0 , IDENT_4 ) ; writer . METHOD_7 ( ) ; writer . METHOD_8 ( p ) ; java . io . File file = new java . io . File ( ( IDENT_0 + STRING_3 ) ) ; byte [ ] IDENT_7 = java . nio . file . IDENT_8 . METHOD_9 ( file . METHOD_10 ( ) ) ; java . lang . String s = new java . lang . String ( java . util . Arrays . METHOD_11 ( IDENT_7 , 4 , 8 ) ) ; "<AssertPlaceHolder>" ; writer . close ( ) ; } METHOD_8 ( IDENT_2 . IDENT_5 ) { long IDENT_9 = ( IDENT_4 . METHOD_3 ( ) ) * ( p . METHOD_5 ( ) ) ; java . io . IDENT_10 IDENT_11 ; if ( IDENT_4 . METHOD_4 ( ) ) { IDENT_11 = IDENT_2 . get ( 0 ) . METHOD_1 ( ) ; IDENT_11 . METHOD_12 ( IDENT_9 ) ; IDENT_11 . write ( p . getBytes ( ) ) ; } else { METHOD_13 ( p ) ; } }
org . junit . Assert . assertEquals ( "test" , s )