METHOD_0 ( ) { org . apache . poi . IDENT_0 . model . io . IDENT_1 IDENT_2 = new org . apache . poi . IDENT_0 . model . io . METHOD_1 ( ) ; java . io . ByteArrayOutputStream IDENT_3 = IDENT_2 . METHOD_2 ( STRING_0 ) ; IDENT_3 . write ( new byte [ 20 ] ) ; IDENT_4 . METHOD_3 ( IDENT_3 ) ; byte [ ] IDENT_5 = IDENT_3 . toByteArray ( ) ; org . apache . poi . IDENT_0 . model . IDENT_6 IDENT_7 = new org . apache . poi . IDENT_0 . model . METHOD_4 ( IDENT_5 , 20 ) ; "<AssertPlaceHolder>" ; } 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_5 ( result , 0 ) ; try { IDENT_12 . METHOD_6 ( ( ( org . apache . poi . util . IDENT_8 . IDENT_9 ) + ( IDENT_10 . length ) ) ) ; IDENT_12 . METHOD_6 ( IDENT_13 ) ; IDENT_12 . write ( IDENT_10 ) ; return result ; } finally { org . apache . poi . util . IDENT_14 . METHOD_7 ( IDENT_12 ) ; } }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_4 )