METHOD_0 ( ) { byte [ ] bytes = STRING_0 . getBytes ( IDENT_0 . UTF_8 ) ; create ( STRING_1 , bytes ) ; int IDENT_1 = 3 ; byte [ ] expected = java . util . Arrays . METHOD_1 ( bytes , IDENT_1 , bytes . length ) ; byte [ ] actual = read ( STRING_1 , IDENT_1 ) ; "<AssertPlaceHolder>" ; } read ( java . lang . String , long ) { try ( java . nio . IDENT_2 . IDENT_3 channel = IDENT_4 . METHOD_2 ( METHOD_3 ( IDENT_5 ) ) ) { java . io . InputStream IDENT_6 = java . nio . IDENT_2 . IDENT_7 . METHOD_4 ( channel ) ; if ( IDENT_1 > 0 ) { org . apache . beam . IDENT_8 . IDENT_9 . IDENT_10 . com . google . common . io . IDENT_11 . METHOD_5 ( IDENT_6 , IDENT_1 ) ; } return org . apache . beam . IDENT_8 . IDENT_9 . IDENT_10 . com . google . common . io . IDENT_11 . toByteArray ( IDENT_6 ) ; } }
org . junit . Assert . assertArrayEquals ( expected , actual )