METHOD_0 ( ) { org . apache . poi . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . poi . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; java . io . File IDENT_4 = org . apache . poi . IDENT_5 . METHOD_2 ( ) . METHOD_3 ( STRING_0 ) ; org . apache . poi . IDENT_0 . IDENT_1 . IDENT_6 IDENT_7 = IDENT_3 . METHOD_4 ( IDENT_4 , IDENT_8 . IDENT_9 ) ; java . io . InputStream is = org . apache . poi . IDENT_5 . METHOD_5 ( ) . METHOD_6 ( STRING_1 ) ; org . apache . poi . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 = new org . apache . poi . IDENT_10 . IDENT_11 . METHOD_7 ( is ) ; is . close ( ) ; int IDENT_14 = IDENT_3 . METHOD_8 ( IDENT_13 ) ; org . apache . poi . IDENT_0 . IDENT_1 . IDENT_15 IDENT_16 = IDENT_3 . METHOD_9 ( ) ; org . apache . poi . IDENT_0 . IDENT_1 . IDENT_17 IDENT_18 = new org . apache . poi . IDENT_0 . IDENT_1 . METHOD_10 ( IDENT_7 ) ; IDENT_18 . METHOD_11 ( IDENT_14 ) ; IDENT_16 . METHOD_12 ( IDENT_18 ) ; IDENT_18 . METHOD_13 ( new java . awt . geom . IDENT_19 . Double ( 100 , 100 , 100 , 100 ) ) ; org . apache . poi . IDENT_0 . IDENT_1 . IDENT_15 IDENT_20 = IDENT_3 . METHOD_9 ( ) ; org . apache . poi . IDENT_0 . IDENT_1 . METHOD_10 IDENT_21 = new org . apache . poi . IDENT_0 . IDENT_1 . METHOD_10 ( IDENT_7 ) ; is = org . apache . poi . IDENT_5 . METHOD_5 ( ) . METHOD_6 ( STRING_2 ) ; org . apache . poi . IDENT_10 . IDENT_11 . METHOD_7 IDENT_22 = new org . apache . poi . IDENT_10 . IDENT_11 . METHOD_7 ( is ) ; is . close ( ) ; int IDENT_23 = IDENT_3 . METHOD_8 ( IDENT_22 ) ; IDENT_21 . METHOD_11 ( IDENT_23 ) ; IDENT_20 . METHOD_12 ( IDENT_21 ) ; IDENT_21 . METHOD_13 ( new java . awt . geom . IDENT_19 . Double ( 100 , 100 , 100 , 100 ) ) ; java . io . ByteArrayOutputStream IDENT_24 = new java . io . ByteArrayOutputStream ( ) ; IDENT_3 . write ( IDENT_24 ) ; IDENT_3 = new org . apache . poi . IDENT_0 . IDENT_1 . METHOD_1 ( new java . io . ByteArrayInputStream ( IDENT_24 . toByteArray ( ) ) ) ; org . apache . poi . IDENT_0 . IDENT_1 . METHOD_10 IDENT_25 = ( ( org . apache . poi . IDENT_0 . IDENT_1 . METHOD_10 ) ( IDENT_3 . METHOD_14 ( ) . get ( 0 ) . METHOD_15 ( ) . get ( 0 ) ) ) ; byte [ ] IDENT_26 = org . apache . poi . util . IDENT_27 . toByteArray ( IDENT_25 . METHOD_16 ( ) . METHOD_17 ( ) ) ; IDENT_24 . METHOD_18 ( ) ; IDENT_13 . METHOD_19 ( IDENT_24 ) ; byte [ ] IDENT_28 = IDENT_24 . toByteArray ( ) ; "<AssertPlaceHolder>" ; IDENT_13 . close ( ) ; IDENT_22 . close ( ) ; IDENT_3 . close ( ) ; } toByteArray ( ) { byte [ ] result = new byte [ ( ( org . apache . poi . util . IDENT_29 . IDENT_30 ) * 2 ) + ( IDENT_31 . length ) ] ; org . apache . poi . util . IDENT_32 IDENT_24 = new org . apache . poi . util . METHOD_20 ( result , 0 ) ; try { IDENT_24 . METHOD_21 ( ( ( org . apache . poi . util . IDENT_29 . IDENT_30 ) + ( IDENT_31 . length ) ) ) ; IDENT_24 . METHOD_21 ( IDENT_33 ) ; IDENT_24 . write ( IDENT_31 ) ; return result ; } finally { org . apache . poi . util . IDENT_27 . METHOD_22 ( IDENT_24 ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_28 , IDENT_26 )