METHOD_0 ( ) { byte [ ] expected = STRING_0 . getBytes ( IDENT_0 . UTF_8 ) ; com . itextpdf . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = new com . itextpdf . IDENT_1 . IDENT_2 . impl . METHOD_1 ( ) { @ com . itextpdf . IDENT_1 . IDENT_2 . Override public com . itextpdf . IDENT_1 . IDENT_2 . IDENT_3 METHOD_2 ( ) { return null ; } @ com . itextpdf . IDENT_1 . IDENT_2 . Override MOD_0 void METHOD_3 ( com . itextpdf . IDENT_1 . IDENT_2 . IDENT_5 context ) { } } ; java . util . Map < java . lang . String , java . lang . String > IDENT_6 = new java . util . HashMap ( ) ; IDENT_6 . put ( IDENT_7 . IDENT_8 . IDENT_9 , STRING_1 ) ; IDENT_4 . METHOD_4 ( IDENT_6 ) ; com . itextpdf . IDENT_1 . IDENT_2 . IDENT_5 context = new com . itextpdf . IDENT_1 . IDENT_2 . METHOD_5 ( null , null ) ; com . itextpdf . kernel . pdf . IDENT_10 document = new com . itextpdf . kernel . pdf . METHOD_6 ( new com . itextpdf . kernel . pdf . METHOD_7 ( new java . io . ByteArrayOutputStream ( ) ) ) ; com . itextpdf . kernel . pdf . IDENT_11 . IDENT_12 IDENT_11 = new com . itextpdf . kernel . pdf . IDENT_11 . METHOD_8 ( document . METHOD_9 ( ) ) ; context . METHOD_10 ( IDENT_11 ) ; IDENT_4 . METHOD_11 ( context ) ; byte [ ] actual = IDENT_11 . METHOD_12 ( ) . getBytes ( true ) ; "<AssertPlaceHolder>" ; } getBytes ( boolean ) { if ( METHOD_13 ( ) ) { throw new com . itextpdf . kernel . METHOD_14 ( com . itextpdf . kernel . METHOD_14 . IDENT_13 ) ; } if ( ( IDENT_14 ) != null ) { org . IDENT_15 . IDENT_16 . METHOD_15 ( com . itextpdf . kernel . pdf . IDENT_17 . class ) . warn ( ( STRING_2 + STRING_3 ) ) ; return null ; } byte [ ] bytes = null ; if ( ( ( IDENT_18 ) != null ) && ( ( IDENT_18 . METHOD_16 ( ) ) != null ) ) { assert ( IDENT_18 . METHOD_16 ( ) ) instanceof com . itextpdf . io . source . ByteArrayOutputStream : STRING_4 ; try { IDENT_18 . METHOD_16 ( ) . METHOD_17 ( ) ; bytes = ( ( com . itextpdf . io . source . ByteArrayOutputStream ) ( IDENT_18 . METHOD_16 ( ) ) ) . toByteArray ( ) ; if ( IDENT_19 && ( containsKey ( IDENT_20 . IDENT_21 ) ) ) { bytes = com . itextpdf . kernel . pdf . IDENT_22 . METHOD_18 ( bytes , this ) ; } } catch ( java . io . IOException IDENT_23 ) { throw new com . itextpdf . kernel . METHOD_14 ( com . itextpdf . kernel . METHOD_14 . IDENT_24 , IDENT_23 , this ) ; } } else if ( ( METHOD_19 ( ) ) != null ) { com . itextpdf . kernel . pdf . IDENT_22 reader = METHOD_19 ( ) . METHOD_20 ( ) ; if ( reader != null ) { try { bytes = reader . METHOD_21 ( this , IDENT_19 ) ; } catch ( java . io . IOException IDENT_23 ) { throw new com . itextpdf . kernel . METHOD_14 ( com . itextpdf . kernel . METHOD_14 . IDENT_24 , IDENT_23 , this ) ; } } } return bytes ; }
org . junit . Assert . assertArrayEquals ( expected , actual )