METHOD_0 ( ) { try { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = null ; try { com . IDENT_0 . IDENT_1 . IDENT_5 . METHOD_1 ( file , expected ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_6 IDENT_7 = new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( IDENT_8 , IDENT_9 , IDENT_10 , IDENT_11 ) ; IDENT_4 = IDENT_7 . METHOD_3 ( ) ; java . lang . String actual = com . IDENT_0 . IDENT_1 . IDENT_5 . METHOD_4 ( IDENT_4 , com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_12 ) ; "<AssertPlaceHolder>" ; } finally { if ( IDENT_4 != null ) { try { IDENT_4 . close ( ) ; } catch ( java . io . IOException e ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_13 . logger . error ( STRING_0 , IDENT_11 , e ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_13 . logger . debug ( STRING_1 , e ) ; } } } } catch ( java . lang . Exception e ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_13 . logger . error ( STRING_2 , IDENT_11 , e ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_13 . logger . debug ( STRING_3 , e ) ; org . junit . Assert . fail ( e . getMessage ( ) ) ; } } METHOD_4 ( java . io . InputStream , java . nio . IDENT_14 . IDENT_15 ) { java . lang . StringBuilder builder = new java . lang . StringBuilder ( ) ; byte [ ] IDENT_16 = new byte [ INT_0 ] ; int IDENT_17 = 0 ; while ( ( IDENT_17 = from . read ( IDENT_16 , 0 , INT_0 ) ) >= 0 ) { builder . append ( new java . lang . String ( IDENT_16 , 0 , IDENT_17 , IDENT_18 ) ) ; } return builder . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , actual )