METHOD_0 ( ) { org . apache . avro . Schema IDENT_0 = org . apache . avro . IDENT_1 . record ( STRING_0 ) . fields ( ) . name ( "name" ) . type ( ) . METHOD_1 ( ) . METHOD_2 ( ) . name ( STRING_1 ) . type ( ) . METHOD_3 ( ) . METHOD_2 ( ) . METHOD_4 ( ) ; org . apache . avro . IDENT_2 . IDENT_3 IDENT_4 = new org . apache . avro . IDENT_2 . IDENT_5 . METHOD_5 ( IDENT_0 ) ; IDENT_4 . put ( 0 , STRING_2 ) ; IDENT_4 . put ( 1 , INT_0 ) ; org . talend . components . api . component . runtime . IDENT_6 < org . apache . avro . IDENT_2 . IDENT_3 > IDENT_7 = mock ( org . talend . components . api . component . runtime . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_6 ( ) ) . thenReturn ( IDENT_4 ) ; org . talend . IDENT_8 . IDENT_9 . runtime . IDENT_10 reader = new org . talend . IDENT_8 . IDENT_9 . runtime . METHOD_7 ( IDENT_7 , IDENT_11 ) ; java . lang . Object IDENT_12 = reader . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; reader . close ( ) ; } METHOD_6 ( ) { return IDENT_13 ; }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_12 )