METHOD_0 ( ) { byte [ ] IDENT_0 = org . apache . poi . IDENT_1 . util . IDENT_2 . getBytes ( STRING_0 ) ; byte [ ] IDENT_3 = org . apache . poi . IDENT_1 . util . IDENT_2 . getBytes ( STRING_1 ) ; for ( int i = 5 ; i < ( IDENT_0 . length ) ; i ++ ) { org . apache . poi . IDENT_1 . util . IDENT_2 . IDENT_4 IDENT_5 = new org . apache . poi . IDENT_1 . util . IDENT_2 . METHOD_1 ( IDENT_0 ) ; java . io . ByteArrayOutputStream IDENT_6 = new java . io . ByteArrayOutputStream ( ) ; boolean IDENT_7 = true ; while ( IDENT_7 ) { byte [ ] b = new byte [ i ] ; int r = IDENT_5 . read ( b ) ; if ( r > 0 ) { IDENT_6 . write ( b , 0 , r ) ; } else { IDENT_7 = false ; } } byte [ ] result = IDENT_6 . toByteArray ( ) ; "<AssertPlaceHolder>" ; IDENT_5 . close ( ) ; } } toByteArray ( ) { byte [ ] result = new byte [ ( ( org . apache . poi . util . IDENT_8 . IDENT_9 ) * 2 ) + ( IDENT_10 . length ) ] ; org . apache . poi . util . IDENT_11 IDENT_12 = new org . apache . poi . util . METHOD_2 ( result , 0 ) ; try { IDENT_12 . METHOD_3 ( ( ( org . apache . poi . util . IDENT_8 . IDENT_9 ) + ( IDENT_10 . length ) ) ) ; IDENT_12 . METHOD_3 ( IDENT_13 ) ; IDENT_12 . write ( IDENT_10 ) ; return result ; } finally { org . apache . poi . util . IDENT_14 . METHOD_4 ( IDENT_12 ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_3 , result )