METHOD_0 ( ) { try ( javax . IDENT_0 . stream . IDENT_1 IDENT_2 = javax . IDENT_0 . IDENT_3 . METHOD_1 ( METHOD_2 ( STRING_0 ) . METHOD_3 ( ) ) ) { javax . IDENT_0 . IDENT_4 reader = javax . IDENT_0 . IDENT_3 . METHOD_4 ( IDENT_2 ) . next ( ) ; reader . METHOD_5 ( IDENT_2 , true ) ; com . IDENT_5 . IDENT_0 . plugins . IDENT_6 . ByteArrayOutputStream IDENT_7 = new com . IDENT_5 . IDENT_0 . plugins . IDENT_6 . ByteArrayOutputStream ( ) ; javax . IDENT_0 . IDENT_8 writer = new com . IDENT_5 . IDENT_0 . plugins . IDENT_6 . METHOD_6 ( new com . IDENT_5 . IDENT_0 . plugins . IDENT_6 . METHOD_7 ( ) ) ; java . awt . image . IDENT_9 IDENT_10 ; try ( javax . IDENT_0 . stream . IDENT_11 output = javax . IDENT_0 . IDENT_3 . METHOD_8 ( IDENT_7 ) ) { writer . METHOD_9 ( output ) ; IDENT_10 = reader . read ( 0 ) ; javax . IDENT_0 . IDENT_12 IDENT_13 = new javax . IDENT_0 . METHOD_10 ( IDENT_10 , null , reader . METHOD_11 ( 0 ) ) ; writer . write ( IDENT_13 ) ; } byte [ ] IDENT_14 = ( ( java . awt . image . IDENT_15 ) ( IDENT_10 . METHOD_12 ( ) . METHOD_13 ( ) ) ) . METHOD_12 ( ) ; java . awt . image . IDENT_9 IDENT_16 = javax . IDENT_0 . IDENT_3 . read ( new com . IDENT_5 . IDENT_0 . plugins . IDENT_6 . ByteArrayInputStream ( IDENT_7 . toByteArray ( ) ) ) ; byte [ ] IDENT_17 = ( ( java . awt . image . IDENT_15 ) ( IDENT_16 . METHOD_12 ( ) . METHOD_13 ( ) ) ) . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; } } METHOD_12 ( ) { return getResource ( STRING_1 ) . METHOD_3 ( ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_14 , IDENT_17 )