METHOD_0 ( ) { org . apache . avro . reflect . Schema IDENT_0 = org . apache . avro . reflect . IDENT_1 . get ( ) . METHOD_1 ( org . apache . avro . reflect . IDENT_2 . IDENT_3 . class ) ; org . apache . avro . reflect . IDENT_4 < org . apache . avro . reflect . IDENT_2 . IDENT_3 > writer = new org . apache . avro . reflect . METHOD_2 ( IDENT_0 ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; org . apache . avro . reflect . IDENT_2 . IDENT_3 record = new org . apache . avro . reflect . IDENT_2 . METHOD_3 ( ) ; record . x = 5 ; record . y = 10 ; writer . write ( record , factory . METHOD_4 ( out , null ) ) ; org . apache . avro . reflect . IDENT_5 < org . apache . avro . reflect . IDENT_2 . METHOD_3 > reader = new org . apache . avro . reflect . METHOD_5 ( IDENT_0 ) ; org . apache . avro . reflect . IDENT_2 . METHOD_3 IDENT_6 = reader . read ( null , org . apache . avro . io . IDENT_7 . get ( ) . METHOD_6 ( out . toByteArray ( ) , null ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . io . InputStream , org . apache . avro . io . IDENT_8 ) { if ( ( null == IDENT_9 ) || ( ! ( IDENT_9 . getClass ( ) . equals ( org . apache . avro . io . IDENT_8 . class ) ) ) ) { return new org . apache . avro . io . METHOD_7 ( in , IDENT_10 ) ; } else { return IDENT_9 . METHOD_8 ( in , IDENT_10 ) ; } }
org . junit . Assert . assertEquals ( record , IDENT_6 )