METHOD_0 ( ) { when ( IDENT_0 . get ( IDENT_1 ) ) . thenReturn ( STRING_0 . getBytes ( IDENT_2 . UTF_8 ) ) ; when ( IDENT_1 . METHOD_1 ( IDENT_3 . IDENT_4 . METHOD_2 ( ) ) ) . thenReturn ( STRING_1 ) ; org . apache . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 IDENT_10 = new org . apache . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_3 ( new java . util . HashSet < java . lang . String > ( ) { { add ( STRING_2 ) ; } } ) ; IDENT_10 . METHOD_4 ( true ) ; org . apache . IDENT_5 . common . configuration . IDENT_11 IDENT_12 = new org . apache . IDENT_5 . common . configuration . METHOD_5 ( ) ; IDENT_12 . METHOD_6 ( STRING_2 , new org . apache . IDENT_5 . common . configuration . METHOD_7 ( ) ) ; org . apache . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_13 IDENT_14 = new org . apache . IDENT_5 . IDENT_6 . IDENT_7 . METHOD_8 ( STRING_3 , IDENT_10 , new java . util . HashMap < java . lang . String , org . apache . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_15 > ( ) { { put ( STRING_2 , IDENT_16 ) ; } } ) { @ org . apache . IDENT_5 . IDENT_6 . IDENT_7 . Override public org . apache . IDENT_5 . common . configuration . METHOD_5 METHOD_9 ( ) { return IDENT_12 ; } } ; IDENT_14 . METHOD_10 ( IDENT_0 ) ; IDENT_14 . METHOD_11 ( IDENT_17 ) ; IDENT_14 . METHOD_12 ( new java . util . HashMap < java . lang . String , java . lang . String > ( ) { { put ( STRING_1 , STRING_2 ) ; } } ) ; org . json . simple . JSONObject message = new org . json . simple . JSONObject ( ) ; message . put ( STRING_4 , "value" ) ; IDENT_10 . METHOD_13 ( java . util . Collections . singletonList ( message ) ) ; org . apache . IDENT_5 . common . message . metadata . IDENT_18 IDENT_19 = new org . apache . IDENT_5 . common . message . metadata . METHOD_14 ( STRING_0 . getBytes ( IDENT_2 . UTF_8 ) , new java . util . HashMap ( ) ) ; org . apache . IDENT_5 . common . error . IDENT_20 error = new org . apache . IDENT_5 . common . error . METHOD_15 ( ) . METHOD_16 ( Constants . IDENT_21 . IDENT_22 ) . METHOD_17 ( java . util . Collections . METHOD_18 ( STRING_2 ) ) . METHOD_19 ( message ) ; IDENT_14 . execute ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_17 , times ( 1 ) ) . METHOD_20 ( eq ( Constants . IDENT_23 ) , METHOD_21 ( new org . apache . IDENT_5 . test . error . METHOD_22 ( error . METHOD_23 ( ) ) ) ) ; verify ( IDENT_17 , times ( 1 ) ) . METHOD_24 ( IDENT_1 ) ; } METHOD_25 ( ) { return IDENT_24 ; }
org . junit . Assert . assertEquals ( IDENT_19 , IDENT_10 . METHOD_25 ( ) )