METHOD_0 ( ) { org . apache . avro . Schema . IDENT_0 parser = new org . apache . avro . Schema . METHOD_1 ( ) ; org . apache . avro . Schema schema = parser . parse ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) ; org . apache . avro . io . IDENT_6 IDENT_7 ; org . apache . avro . io . IDENT_8 factory = new org . apache . avro . io . METHOD_2 ( ) ; java . util . Map < org . apache . avro . util . IDENT_9 , java . lang . Object > IDENT_10 = new java . util . HashMap < org . apache . avro . util . IDENT_9 , java . lang . Object > ( ) ; org . apache . avro . IDENT_11 . IDENT_12 reader = new org . apache . avro . IDENT_11 . METHOD_3 ( schema ) ; org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_14 field = new org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_13 . METHOD_4 ( ) ; field . IDENT_15 = "test" ; field . IDENT_16 = STRING_0 ; field . IDENT_17 = org . pentaho . di . core . row . IDENT_18 . METHOD_5 ( IDENT_19 . IDENT_20 ) ; IDENT_7 = factory . METHOD_6 ( schema , org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_21 ) ; reader . read ( IDENT_10 , IDENT_7 ) ; field . init ( 0 ) ; field . METHOD_7 ( new org . pentaho . di . core . IDENT_22 . METHOD_8 ( ) ) ; java . lang . Object result = field . METHOD_9 ( IDENT_10 , schema , mock ( org . apache . avro . Schema . class ) , false ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( org . apache . avro . IDENT_11 . IDENT_23 , org . apache . avro . Schema , org . apache . avro . Schema , boolean ) { if ( record == null ) { return null ; } if ( ( IDENT_24 . size ( ) ) == 0 ) { throw new org . pentaho . di . core . exception . METHOD_10 ( org . pentaho . di . IDENT_25 . IDENT_26 . getString ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_27 , STRING_1 ) ) ; } java . lang . String IDENT_28 = IDENT_24 . remove ( 0 ) ; if ( ( IDENT_28 . charAt ( 0 ) ) == STRING_2 ) { throw new org . pentaho . di . core . exception . METHOD_10 ( ( ( org . pentaho . di . IDENT_25 . IDENT_26 . getString ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_27 , STRING_3 ) ) + ( IDENT_24 ) ) ) ; } if ( ( IDENT_28 . indexOf ( STRING_2 ) ) > 0 ) { java . lang . String IDENT_29 = IDENT_28 . substring ( IDENT_28 . indexOf ( STRING_2 ) ) ; IDENT_28 = IDENT_28 . substring ( 0 , IDENT_28 . indexOf ( STRING_2 ) ) ; IDENT_24 . add ( 0 , IDENT_29 ) ; } org . apache . avro . Schema . Field IDENT_30 = s . METHOD_11 ( IDENT_28 ) ; if ( ( IDENT_30 == null ) && ( ! IDENT_31 ) ) { throw new org . pentaho . di . core . exception . METHOD_10 ( org . pentaho . di . IDENT_25 . IDENT_26 . getString ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_27 , STRING_4 , IDENT_28 ) ) ; } java . lang . Object field = record . get ( IDENT_28 ) ; if ( field == null ) { IDENT_30 = IDENT_32 . METHOD_11 ( IDENT_28 ) ; if ( ( IDENT_30 == null ) || ( ( IDENT_30 . METHOD_12 ( ) ) == null ) ) { return null ; } field = IDENT_30 . METHOD_12 ( ) ; } org . apache . avro . Schema . Type IDENT_33 = IDENT_30 . schema ( ) . getType ( ) ; org . apache . avro . Schema IDENT_34 = IDENT_30 . schema ( ) ; if ( IDENT_33 == ( Schema . Type . IDENT_35 ) ) { if ( field instanceof org . apache . avro . IDENT_11 . IDENT_36 ) { IDENT_34 = ( ( org . apache . avro . IDENT_11 . IDENT_36 ) ( field ) ) . METHOD_13 ( ) ; IDENT_33 = IDENT_34 . getType ( ) ; } else { if ( field instanceof java . util . Map ) { org . apache . avro . Schema IDENT_37 = null ; for ( org . apache . avro . Schema IDENT_38 : IDENT_34 . METHOD_14 ( ) ) { if ( ( IDENT_38 . getType ( ) ) == ( Schema . Type . IDENT_39 ) ) { IDENT_37 = IDENT_38 ; break ; } } if ( IDENT_37 == null ) { throw new org . pentaho . di . core . exception . METHOD_10 ( org . pentaho . di . IDENT_25 . IDENT_26 . getString ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_27 , STRING_5 ) ) ; } IDENT_34 = IDENT_37 ; IDENT_33 = Schema . Type . IDENT_39 ; } else { if ( ( IDENT_40 . getType ( ) ) != ( org . pentaho . di . core . row . IDENT_19 . IDENT_20 ) ) { IDENT_34 = org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_41 . METHOD_15 ( IDENT_34 ) ; IDENT_33 = IDENT_34 . getType ( ) ; } else { IDENT_34 = org . apache . avro . Schema . create ( Schema . Type . IDENT_42 ) ; IDENT_33 = IDENT_34 . getType ( ) ; } } } } if ( IDENT_33 == ( Schema . Type . IDENT_43 ) ) { return METHOD_9 ( ( ( org . apache . avro . IDENT_11 . IDENT_44 . IDENT_45 ) ( field ) ) , IDENT_34 , IDENT_32 , IDENT_31 ) ; } else if ( IDENT_33 == ( Schema . Type . IDENT_46 ) ) { return METHOD_9 ( ( ( org . apache . avro . IDENT_11 . IDENT_44 . IDENT_47 ) ( field ) ) , IDENT_34 , IDENT_32 , IDENT_31 ) ; } else if ( IDENT_33 == ( Schema . Type . IDENT_39 ) ) { return METHOD_9 ( ( ( java . util . Map < org . apache . avro . util . IDENT_9 , java . lang . Object > ) ( field ) ) , IDENT_34 , IDENT_32 , IDENT_31 ) ; } else { return METHOD_16 ( field , IDENT_34 ) ; } }
org . junit . Assert . assertTrue ( ( result == null ) )