METHOD_0 ( ) { org . apache . avro . reflect . IDENT_0 IDENT_1 = org . apache . avro . reflect . IDENT_0 . get ( ) ; org . apache . avro . Schema IDENT_2 = IDENT_1 . METHOD_1 ( com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . IDENT_7 . class ) ; com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . LOG . info ( IDENT_2 ) ; org . apache . avro . reflect . IDENT_8 < com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . IDENT_7 > writer = new org . apache . avro . reflect . IDENT_8 < com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . IDENT_7 > ( IDENT_2 ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; org . apache . avro . io . IDENT_9 IDENT_10 = org . apache . avro . io . IDENT_11 . get ( ) . METHOD_2 ( out , null ) ; writer . write ( com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . IDENT_12 , IDENT_10 ) ; IDENT_10 . METHOD_3 ( ) ; byte [ ] IDENT_13 = out . toByteArray ( ) ; METHOD_4 ( IDENT_13 ) ; "<AssertPlaceHolder>" ; java . io . ByteArrayInputStream IDENT_14 = new java . io . ByteArrayInputStream ( IDENT_13 ) ; org . apache . avro . reflect . IDENT_15 < com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . IDENT_7 > reader = new org . apache . avro . reflect . IDENT_15 < com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . IDENT_7 > ( IDENT_2 ) ; org . apache . avro . io . IDENT_16 IDENT_17 = new org . apache . avro . io . METHOD_5 ( ) . METHOD_6 ( IDENT_14 , null ) ; com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . IDENT_7 IDENT_18 = reader . read ( null , IDENT_17 ) ; com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . LOG . info ( IDENT_18 ) ; } METHOD_4 ( byte [ ] ) { int len = IDENT_13 . length ; com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . LOG . info ( ( STRING_0 + len ) ) ; java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; for ( int i = 0 ; i < len ; i ++ ) { sb . append ( java . lang . String . format ( STRING_1 , IDENT_13 [ i ] ) ) ; } com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . LOG . info ( sb ) ; java . lang . StringBuilder IDENT_19 = new java . lang . StringBuilder ( ) ; for ( int i = 0 ; i < len ; i ++ ) { char c = ( ! ( java . lang . IDENT_20 . METHOD_7 ( IDENT_13 [ i ] ) ) ) ? ( ( char ) ( IDENT_13 [ i ] ) ) : ( ( char ) ( STRING_2 ) ) ; IDENT_19 . append ( java . lang . String . format ( STRING_3 , c ) ) ; } com . IDENT_3 . IDENT_4 . IDENT_5 . avro . IDENT_6 . LOG . info ( IDENT_19 ) ; }
org . junit . Assert . assertEquals ( 12 , IDENT_13 . length )