METHOD_0 ( ) { org . apache . avro . Schema schema = org . apache . IDENT_0 . serializer . avro . IDENT_1 . METHOD_1 ( new java . io . File ( STRING_0 ) ) ; org . apache . IDENT_0 . serializer . avro . IDENT_2 IDENT_3 = new org . apache . IDENT_0 . serializer . avro . METHOD_2 ( ) ; java . util . HashMap < java . lang . String , java . lang . Object > map = new java . util . HashMap ( ) ; map . put ( "name" , STRING_1 ) ; map . put ( STRING_2 , 16 ) ; org . apache . avro . IDENT_4 . IDENT_5 obj = org . apache . IDENT_0 . serializer . avro . IDENT_1 . METHOD_3 ( schema , map ) ; byte [ ] result = IDENT_3 . serialize ( obj ) ; org . apache . IDENT_0 . serializer . avro . IDENT_6 IDENT_7 = new org . apache . IDENT_0 . serializer . avro . METHOD_4 ( schema ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( byte [ ] ) { org . apache . commons . lang . IDENT_8 . METHOD_6 ( bytes ) ; org . apache . avro . IDENT_9 . IDENT_10 < org . apache . avro . IDENT_4 . IDENT_5 > reader = new org . apache . avro . IDENT_9 . METHOD_7 ( schema ) ; org . apache . avro . io . IDENT_11 IDENT_12 = org . apache . avro . io . IDENT_13 . get ( ) . METHOD_8 ( bytes , null ) ; try { return ( ( T ) ( reader . read ( null , IDENT_12 ) ) ) ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } }
org . junit . Assert . assertEquals ( obj , IDENT_7 . METHOD_5 ( result ) )