METHOD_0 ( ) { java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; org . apache . beam . sdk . util . IDENT_1 IDENT_2 = new org . apache . beam . sdk . util . METHOD_1 ( IDENT_0 ) ; IDENT_2 . METHOD_2 ( ) ; IDENT_2 . write ( new byte [ ] { 1 } ) ; IDENT_2 . METHOD_3 ( ) ; IDENT_2 . write ( new byte [ ] { 2 } ) ; IDENT_2 . close ( ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { if ( ( ! ( IDENT_3 ) ) && ( ( count ) > 0 ) ) { return buf ; } else { return super . toByteArray ( ) ; } }
org . junit . Assert . assertArrayEquals ( new byte [ ] { 1 , 1 , 2 , 0 } , IDENT_0 . toByteArray ( ) )