METHOD_0 ( ) { org . apache . avro . Schema . Field IDENT_0 = new org . apache . avro . Schema . Field ( "test" , org . apache . avro . Schema . create ( Type . IDENT_1 ) , null , null ) ; org . apache . avro . IDENT_2 . List < org . apache . avro . Schema . Field > fields = new org . apache . avro . IDENT_2 . ArrayList ( ) ; fields . add ( IDENT_0 ) ; org . apache . avro . Schema record = org . apache . avro . Schema . METHOD_1 ( "test" , null , null , false ) ; record . METHOD_2 ( fields ) ; java . io . ByteArrayOutputStream IDENT_3 = new java . io . ByteArrayOutputStream ( 5 ) ; java . io . ByteArrayOutputStream IDENT_4 = new java . io . ByteArrayOutputStream ( 5 ) ; org . apache . avro . io . IDENT_5 IDENT_6 = org . apache . avro . io . IDENT_7 . get ( ) . METHOD_3 ( IDENT_3 , null ) ; org . apache . avro . io . IDENT_5 IDENT_8 = org . apache . avro . io . IDENT_7 . get ( ) . METHOD_3 ( IDENT_4 , null ) ; org . apache . avro . IDENT_2 . IDENT_9 . IDENT_10 IDENT_11 = new org . apache . avro . IDENT_2 . IDENT_9 . METHOD_4 ( record ) ; IDENT_11 . put ( 0 , 1 ) ; org . apache . avro . IDENT_2 . IDENT_9 . METHOD_4 IDENT_12 = new org . apache . avro . IDENT_2 . IDENT_9 . METHOD_4 ( record ) ; IDENT_12 . put ( 0 , 2 ) ; org . apache . avro . IDENT_2 . IDENT_13 < org . apache . avro . IDENT_2 . IDENT_9 . METHOD_4 > IDENT_14 = new org . apache . avro . IDENT_2 . METHOD_5 ( record ) ; java . lang . Integer IDENT_15 = 0 ; java . lang . Integer IDENT_16 = 0 ; try { IDENT_14 . write ( IDENT_11 , IDENT_6 ) ; IDENT_6 . METHOD_6 ( ) ; IDENT_15 = IDENT_3 . size ( ) ; IDENT_14 . write ( IDENT_11 , IDENT_6 ) ; IDENT_6 . METHOD_6 ( ) ; IDENT_3 . close ( ) ; IDENT_14 . write ( IDENT_12 , IDENT_8 ) ; IDENT_8 . METHOD_6 ( ) ; IDENT_16 = IDENT_4 . size ( ) ; IDENT_14 . write ( IDENT_12 , IDENT_8 ) ; IDENT_8 . METHOD_6 ( ) ; IDENT_4 . close ( ) ; "<AssertPlaceHolder>" ; } catch ( java . io . IOException e ) { org . junit . Assert . fail ( STRING_0 ) ; } } compare ( byte [ ] , int , byte [ ] , int , org . apache . avro . Schema ) { return org . apache . avro . io . IDENT_17 . compare ( IDENT_3 , IDENT_18 , ( ( IDENT_3 . length ) - IDENT_18 ) , IDENT_4 , IDENT_19 , ( ( IDENT_4 . length ) - IDENT_19 ) , schema ) ; }
org . junit . Assert . assertEquals ( ( - 1 ) , org . apache . avro . io . IDENT_17 . compare ( IDENT_3 . toByteArray ( ) , IDENT_15 , IDENT_4 . toByteArray ( ) , IDENT_16 , record ) )