METHOD_0 ( ) { try { java . lang . String IDENT_0 = STRING_0 ; edu . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . logger . info ( ( STRING_1 + IDENT_0 ) ) ; java . io . File IDENT_5 = java . io . File . METHOD_1 ( STRING_2 , STRING_3 ) ; IDENT_5 . METHOD_2 ( ) ; java . io . IDENT_6 IDENT_7 = new java . io . METHOD_3 ( IDENT_5 ) ; edu . IDENT_1 . IDENT_2 . IDENT_8 . writer . IDENT_9 IDENT_10 = new edu . IDENT_1 . IDENT_2 . IDENT_8 . writer . METHOD_4 ( IDENT_7 ) ; java . io . StringWriter IDENT_11 = new java . io . StringWriter ( ) ; java . io . IDENT_12 IDENT_13 = new java . io . METHOD_5 ( IDENT_11 ) ; edu . IDENT_1 . IDENT_2 . IDENT_8 . writer . IDENT_14 IDENT_15 = new edu . IDENT_1 . IDENT_2 . IDENT_8 . writer . METHOD_6 ( IDENT_13 ) ; java . util . List < edu . IDENT_1 . IDENT_2 . IDENT_8 . writer . IDENT_16 > IDENT_17 = new java . util . METHOD_7 ( ) ; IDENT_17 . add ( IDENT_10 ) ; IDENT_17 . add ( IDENT_15 ) ; edu . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_18 request = new edu . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_8 ( STRING_4 , IDENT_0 ) ; request . METHOD_9 ( new java . io . File ( METHOD_10 ( IDENT_0 ) . METHOD_11 ( ) ) ) ; request . METHOD_12 ( false ) ; request . METHOD_13 ( IDENT_19 . IDENT_20 ) ; request . METHOD_14 ( IDENT_17 ) ; request . METHOD_15 ( edu . IDENT_1 . IDENT_2 . IDENT_21 . IDENT_22 . getInstance ( ) . METHOD_16 ( ) ) ; IDENT_23 . METHOD_17 ( request ) ; IDENT_7 . METHOD_18 ( ) ; IDENT_7 . close ( ) ; org . apache . avro . file . IDENT_24 < java . lang . IDENT_25 > IDENT_26 = new org . apache . avro . file . METHOD_19 ( IDENT_5 , new org . apache . avro . IDENT_27 . IDENT_28 < java . lang . IDENT_25 > ( ) ) ; org . apache . avro . Schema schema = IDENT_26 . METHOD_20 ( ) ; org . apache . avro . io . IDENT_29 < org . apache . avro . IDENT_27 . IDENT_30 > IDENT_31 = new org . apache . avro . IDENT_27 . METHOD_21 ( schema ) ; org . apache . avro . file . METHOD_19 < org . apache . avro . IDENT_27 . IDENT_30 > reader = new org . apache . avro . file . METHOD_19 ( IDENT_5 , IDENT_31 ) ; int count = 0 ; while ( reader . hasNext ( ) ) { reader . next ( ) ; count ++ ; } reader . close ( ) ; IDENT_26 . close ( ) ; "<AssertPlaceHolder>" ; } catch ( java . lang . Exception e ) { edu . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . logger . error ( STRING_5 , e ) ; org . junit . Assert . fail ( ( STRING_6 + ( e . getMessage ( ) ) ) ) ; } } close ( ) { IDENT_32 . close ( ) ; }
org . junit . Assert . assertEquals ( 7 , count )