METHOD_0 ( ) { org . apache . kafka . connect . data . Schema schema = org . apache . kafka . connect . data . IDENT_0 . string ( ) . doc ( STRING_0 ) . METHOD_1 ( "foo" ) . name ( STRING_1 ) . version ( 2 ) . METHOD_2 ( ) . parameter ( "foo" , "bar" ) . parameter ( STRING_2 , STRING_2 ) . build ( ) ; org . apache . avro . Schema IDENT_1 = org . apache . kafka . connect . data . org . apache . avro . IDENT_0 . builder ( ) . METHOD_3 ( ) ; IDENT_1 . METHOD_4 ( STRING_3 , STRING_1 ) ; IDENT_1 . METHOD_4 ( STRING_4 , IDENT_2 . instance . METHOD_5 ( 2 ) ) ; IDENT_1 . METHOD_4 ( STRING_5 0 , STRING_0 ) ; IDENT_1 . METHOD_4 ( STRING_6 , "foo" ) ; org . IDENT_3 . jackson . node . IDENT_4 params = IDENT_2 . instance . METHOD_6 ( ) ; params . put ( "foo" , "bar" ) ; params . put ( STRING_2 , STRING_2 ) ; IDENT_1 . METHOD_4 ( STRING_7 , params ) ; org . apache . avro . Schema IDENT_5 = org . apache . kafka . connect . data . org . apache . avro . IDENT_0 . builder ( ) . METHOD_7 ( ) . type ( IDENT_1 ) . and ( ) . METHOD_8 ( ) . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( java . lang . String , byte [ ] ) { try { io . IDENT_6 . kafka . IDENT_7 . IDENT_8 IDENT_9 = IDENT_10 . METHOD_11 ( IDENT_11 , IDENT_12 , value ) ; if ( IDENT_9 == null ) { return org . apache . kafka . connect . data . IDENT_13 . IDENT_14 ; } org . apache . avro . IDENT_15 . IDENT_16 IDENT_17 = IDENT_9 . container ( ) ; java . lang . Integer version = IDENT_9 . version ( ) ; if ( IDENT_17 instanceof org . apache . avro . IDENT_15 . IDENT_18 ) { return IDENT_19 . METHOD_10 ( IDENT_17 . METHOD_12 ( ) , IDENT_17 , version ) ; } else if ( IDENT_17 instanceof io . IDENT_6 . kafka . IDENT_7 . IDENT_20 ) { return IDENT_19 . METHOD_10 ( IDENT_17 . METHOD_12 ( ) , ( ( io . IDENT_6 . kafka . IDENT_7 . IDENT_20 ) ( IDENT_17 ) ) . getValue ( ) , version ) ; } throw new org . apache . kafka . connect . errors . METHOD_13 ( java . lang . String . format ( STRING_8 , IDENT_11 ) ) ; } catch ( org . apache . kafka . common . errors . IDENT_21 e ) { throw new org . apache . kafka . connect . errors . METHOD_13 ( java . lang . String . format ( STRING_9 , IDENT_11 ) , e ) ; } }
org . junit . Assert . assertEquals ( new org . apache . kafka . connect . data . METHOD_14 ( schema , STRING_5 ) , IDENT_19 . METHOD_10 ( IDENT_5 , STRING_5 ) )