METHOD_0 ( ) { org . IDENT_0 . core . file . IDENT_1 target = new org . IDENT_0 . core . file . METHOD_1 ( ) ; java . io . File file = new java . io . File ( STRING_0 ) ; java . lang . String actual = target . METHOD_2 ( file ) ; java . lang . String expected = STRING_1 ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . io . File ) { java . io . InputStream is = null ; java . lang . String IDENT_2 = null ; try { is = new java . io . METHOD_3 ( file ) ; org . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = new org . IDENT_3 . IDENT_4 . METHOD_4 ( null ) ; byte [ ] buf = new byte [ INT_0 ] ; int IDENT_7 ; while ( ( ( IDENT_7 = is . read ( buf ) ) > 0 ) && ( ! ( IDENT_6 . METHOD_5 ( ) ) ) ) { IDENT_6 . METHOD_6 ( buf , 0 , IDENT_7 ) ; } IDENT_6 . METHOD_7 ( ) ; IDENT_2 = IDENT_6 . METHOD_8 ( ) ; } catch ( java . io . IOException e ) { } finally { org . apache . commons . io . IDENT_8 . METHOD_9 ( is ) ; if ( IDENT_2 == null ) { return java . nio . IDENT_9 . IDENT_10 . METHOD_10 ( ) . name ( ) ; } } return IDENT_2 ; }
org . junit . Assert . assertEquals ( expected , actual )