METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 record = mock ( org . apache . hadoop . IDENT_0 . IDENT_1 . class ) ; when ( record . METHOD_1 ( ) ) . thenReturn ( com . google . common . collect . Lists . newArrayList ( new org . apache . hadoop . IDENT_0 . METHOD_2 ( org . apache . hadoop . IDENT_0 . impl . IDENT_2 . IDENT_3 . IDENT_4 , STRING_0 ) ) ) ; when ( record . METHOD_3 ( ) ) . thenReturn ( java . lang . System . currentTimeMillis ( ) ) ; org . apache . hadoop . IDENT_0 . IDENT_5 IDENT_6 = new org . apache . hadoop . IDENT_0 . METHOD_4 ( org . apache . hadoop . IDENT_0 . impl . IDENT_2 . IDENT_3 . IDENT_7 ) { @ org . apache . hadoop . IDENT_0 . impl . Override public org . apache . hadoop . IDENT_0 . impl . IDENT_8 value ( ) { return new java . lang . Integer ( INT_0 ) ; } @ org . apache . hadoop . IDENT_0 . impl . Override public org . apache . hadoop . IDENT_0 . IDENT_9 type ( ) { return null ; } @ org . apache . hadoop . IDENT_0 . impl . Override public void METHOD_5 ( org . apache . hadoop . IDENT_0 . IDENT_10 IDENT_11 ) { } } ; java . lang . IDENT_12 < org . apache . hadoop . IDENT_0 . METHOD_4 > metrics = com . google . common . collect . Lists . newArrayList ( IDENT_6 ) ; when ( record . name ( ) ) . thenReturn ( STRING_1 ) ; when ( record . metrics ( ) ) . thenReturn ( metrics ) ; org . apache . commons . configuration2 . IDENT_13 conf = mock ( org . apache . commons . configuration2 . IDENT_13 . class ) ; when ( conf . getString ( IDENT_14 . IDENT_15 ) ) . thenReturn ( STRING_2 ) ; java . lang . String IDENT_16 = STRING_3 ; when ( conf . getString ( IDENT_14 . IDENT_17 ) ) . thenReturn ( IDENT_16 ) ; IDENT_18 = new org . apache . hadoop . IDENT_0 . IDENT_19 . METHOD_6 ( ) ; IDENT_18 . init ( conf ) ; org . apache . kafka . IDENT_20 . IDENT_21 . IDENT_22 < java . lang . Integer , byte [ ] > IDENT_23 = mock ( org . apache . kafka . IDENT_20 . IDENT_21 . IDENT_24 . class ) ; IDENT_18 . METHOD_7 ( IDENT_23 ) ; java . lang . StringBuilder IDENT_25 = METHOD_8 ( record ) ; if ( org . apache . hadoop . IDENT_0 . impl . IDENT_2 . LOG . METHOD_9 ( ) ) { org . apache . hadoop . IDENT_0 . impl . IDENT_2 . LOG . debug ( ( STRING_4 + ( IDENT_25 . toString ( ) ) ) ) ; } java . util . concurrent . IDENT_26 < org . apache . kafka . IDENT_20 . IDENT_21 . IDENT_27 > f = mock ( java . util . concurrent . IDENT_26 . class ) ; when ( IDENT_23 . METHOD_10 ( any ( ) ) ) . thenReturn ( f ) ; IDENT_18 . METHOD_11 ( record ) ; org . mockito . IDENT_28 < org . apache . kafka . IDENT_20 . IDENT_21 . IDENT_29 > IDENT_30 = org . mockito . IDENT_28 . METHOD_12 ( org . apache . kafka . IDENT_20 . IDENT_21 . IDENT_29 . class ) ; verify ( IDENT_23 ) . METHOD_10 ( IDENT_30 . METHOD_13 ( ) ) ; org . apache . kafka . IDENT_20 . IDENT_21 . IDENT_29 < java . lang . Integer , byte [ ] > data = IDENT_30 . getValue ( ) ; java . lang . String IDENT_31 = new java . lang . String ( data . value ( ) ) ; if ( org . apache . hadoop . IDENT_0 . impl . IDENT_2 . LOG . METHOD_9 ( ) ) { org . apache . hadoop . IDENT_0 . impl . IDENT_2 . LOG . debug ( ( STRING_5 + IDENT_31 ) ) ; } "<AssertPlaceHolder>" ; } toString ( ) { return ( ( ( ( ( ( ( ( ( ( STRING_6 + ( uri ) ) + STRING_7 ) + STRING_8 ) + ( IDENT_32 ) ) + STRING_7 ) + STRING_9 ) + ( IDENT_33 ) ) + STRING_7 ) + STRING_10 ) + ( IDENT_34 ) ) + STRING_11 ; }
org . junit . Assert . assertEquals ( IDENT_25 . toString ( ) , IDENT_31 )