METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( writer , 1 , java . util . Optional . empty ( ) ) ; org . IDENT_0 . IDENT_1 . IDENT_3 expected = STRING_0 ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { try { org . IDENT_0 . IDENT_1 . IDENT_3 IDENT_4 = buffer . METHOD_3 ( ) ; org . IDENT_0 . IDENT_1 . IDENT_3 bytes = new byte [ METHOD_3 ] ; org . IDENT_0 . IDENT_1 . IDENT_3 read = buffer . read ( bytes ) ; assert read == METHOD_3 ; return new java . lang . String ( bytes , java . nio . IDENT_5 . IDENT_6 . METHOD_4 ( STRING_1 ) ) ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } }
org . junit . Assert . assertThat ( METHOD_2 ( ) , equalTo ( expected ) )