METHOD_0 ( ) { org . apache . poi . IDENT_0 . record . IDENT_1 record = new org . apache . poi . IDENT_0 . record . METHOD_1 ( org . apache . poi . IDENT_0 . record . IDENT_2 . data , 0 , org . apache . poi . IDENT_0 . record . IDENT_2 . data . length ) ; java . io . ByteArrayOutputStream IDENT_3 = new java . io . ByteArrayOutputStream ( ) ; record . METHOD_2 ( IDENT_3 ) ; byte [ ] b = IDENT_3 . toByteArray ( ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { byte [ ] result = new byte [ ( ( org . apache . poi . util . IDENT_4 . IDENT_5 ) * 2 ) + ( IDENT_6 . length ) ] ; org . apache . poi . util . IDENT_7 IDENT_8 = new org . apache . poi . util . METHOD_3 ( result , 0 ) ; try { IDENT_8 . METHOD_4 ( ( ( org . apache . poi . util . IDENT_4 . IDENT_5 ) + ( IDENT_6 . length ) ) ) ; IDENT_8 . METHOD_4 ( IDENT_9 ) ; IDENT_8 . write ( IDENT_6 ) ; return result ; } finally { org . apache . poi . util . IDENT_10 . METHOD_5 ( IDENT_8 ) ; } }
org . junit . Assert . assertArrayEquals ( org . apache . poi . IDENT_0 . record . IDENT_2 . data , b )