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