test ( ) { org . apache . avro . Schema schema = new org . apache . avro . Schema . METHOD_0 ( ) . parse ( org . apache . avro . IDENT_0 . IDENT_1 . IDENT_2 ) ; org . apache . avro . file . IDENT_3 < java . lang . Object > writer = new org . apache . avro . file . METHOD_1 ( new org . apache . avro . IDENT_4 . METHOD_2 ( ) ) ; writer . create ( schema , org . apache . avro . IDENT_0 . IDENT_5 . METHOD_3 ( org . apache . avro . IDENT_0 . IDENT_1 . IDENT_6 . toString ( ) ) ) ; for ( java . lang . Object IDENT_7 : new org . apache . avro . util . METHOD_4 ( schema , org . apache . avro . IDENT_0 . IDENT_1 . IDENT_8 , org . apache . avro . IDENT_0 . IDENT_1 . IDENT_9 ) ) writer . append ( IDENT_7 ) ; writer . close ( ) ; run ( org . apache . avro . IDENT_0 . IDENT_1 . IDENT_6 . toString ( ) , org . apache . avro . IDENT_0 . IDENT_1 . IDENT_10 . toString ( ) ) ; org . apache . IDENT_11 . avro . IDENT_12 < java . lang . Object > reader = new org . apache . IDENT_11 . avro . METHOD_5 ( new org . apache . IDENT_11 . avro . METHOD_5 . METHOD_6 ( org . apache . avro . IDENT_0 . IDENT_1 . IDENT_10 ) ) ; java . util . Iterator < java . lang . Object > found = reader . iterator ( ) ; for ( java . lang . Object expected : new org . apache . avro . util . METHOD_4 ( schema , org . apache . avro . IDENT_0 . IDENT_1 . IDENT_8 , org . apache . avro . IDENT_0 . IDENT_1 . IDENT_9 ) ) "<AssertPlaceHolder>" ; reader . close ( ) ; } next ( ) { try { for ( org . apache . IDENT_11 . IDENT_13 value : values ) if ( value != null ) value . METHOD_7 ( ) ; this . column = 0 ; return ( ( IDENT_14 ) ( read ( IDENT_15 ) ) ) ; } catch ( java . io . IOException e ) { throw new org . apache . IDENT_11 . METHOD_8 ( e ) ; } }
org . junit . Assert . assertEquals ( expected , found . next ( ) )