METHOD_0 ( ) { org . apache . IDENT_0 . Context context = new org . apache . IDENT_0 . Context ( ) ; context . put ( STRING_0 , java . lang . String . valueOf ( ( IDENT_1 = org . apache . IDENT_0 . source . IDENT_2 . METHOD_1 ( ) ) ) ) ; context . put ( STRING_1 , STRING_2 ) ; source . METHOD_2 ( context ) ; org . apache . IDENT_0 . channel . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . channel . IDENT_3 . class ) ; METHOD_3 ( new org . apache . IDENT_0 . METHOD_4 ( STRING_3 ) ) . when ( IDENT_4 ) . METHOD_5 ( any ( org . apache . IDENT_0 . IDENT_5 . class ) ) ; METHOD_3 ( new org . apache . IDENT_0 . METHOD_4 ( STRING_3 ) ) . when ( IDENT_4 ) . METHOD_6 ( METHOD_7 ( org . apache . IDENT_0 . IDENT_5 . class ) ) ; source . METHOD_8 ( IDENT_4 ) ; source . start ( ) ; org . apache . IDENT_0 . source . avro . IDENT_6 IDENT_7 = new org . apache . IDENT_0 . source . avro . METHOD_9 ( ) ; IDENT_7 . METHOD_10 ( new java . util . HashMap < java . lang . IDENT_8 , java . lang . IDENT_8 > ( ) ) ; IDENT_7 . METHOD_11 ( java . nio . ByteBuffer . METHOD_12 ( STRING_4 . getBytes ( ) ) ) ; source . append ( IDENT_7 ) ; source . METHOD_13 ( java . util . Arrays . asList ( IDENT_7 ) ) ; org . apache . IDENT_0 . IDENT_9 . IDENT_10 IDENT_11 = ( ( org . apache . IDENT_0 . IDENT_9 . IDENT_10 ) ( org . mockito . internal . util . IDENT_12 . IDENT_13 . METHOD_14 ( source , STRING_5 ) ) ) ; "<AssertPlaceHolder>" ; source . METHOD_15 ( ) ; } METHOD_16 ( ) { return get ( org . apache . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_14 ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_11 . METHOD_16 ( ) )