METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final org . apache . IDENT_1 . IDENT_2 . IDENT_3 registry = mock ( org . apache . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; final org . apache . IDENT_1 . IDENT_4 . IDENT_5 IDENT_6 = mock ( org . apache . IDENT_1 . IDENT_4 . IDENT_5 . class ) ; final java . util . Map < java . lang . String , org . apache . IDENT_1 . IDENT_2 . IDENT_7 > IDENT_8 = new java . util . HashMap ( ) ; IDENT_8 . put ( "name" , null ) ; IDENT_8 . put ( STRING_1 , null ) ; IDENT_8 . put ( STRING_2 , null ) ; final java . lang . String IDENT_9 = STRING_3 + STRING_4 ; final org . apache . IDENT_1 . IDENT_4 . IDENT_10 IDENT_11 = new org . apache . IDENT_1 . IDENT_4 . METHOD_1 ( IDENT_6 , null ) ; final java . lang . String IDENT_12 = IDENT_11 . getId ( ) ; final org . apache . IDENT_1 . IDENT_2 . IDENT_13 IDENT_14 = org . apache . IDENT_1 . IDENT_2 . IDENT_15 . build ( "name" , STRING_5 , IDENT_0 , IDENT_12 ) ; final org . apache . IDENT_1 . IDENT_2 . IDENT_13 IDENT_16 = org . apache . IDENT_1 . IDENT_2 . IDENT_15 . build ( STRING_1 , INT_0 , IDENT_0 , null ) ; when ( IDENT_6 . getId ( ) ) . thenReturn ( IDENT_0 ) ; when ( registry . get ( "name" , IDENT_0 , IDENT_12 ) ) . thenReturn ( IDENT_14 ) ; when ( registry . get ( STRING_1 , IDENT_0 , null ) ) . thenReturn ( IDENT_16 ) ; final java . lang . String expected = STRING_6 + STRING_4 ; final java . lang . String actual = IDENT_11 . METHOD_2 ( IDENT_9 , IDENT_8 , registry ) ; verify ( registry ) . get ( "name" , IDENT_0 , IDENT_12 ) ; verify ( registry ) . get ( STRING_1 , IDENT_0 , null ) ; "<AssertPlaceHolder>" ; } get ( java . lang . String , java . lang . String , java . lang . String ) { MOD_0 ( registry ) { if ( IDENT_0 == null ) { IDENT_0 = org . apache . IDENT_1 . IDENT_17 . IDENT_18 . IDENT_19 ; } METHOD_3 ( IDENT_0 , IDENT_20 ) ; return registry . get ( IDENT_0 ) . get ( IDENT_20 ) . get ( event ) ; } }
org . junit . Assert . assertEquals ( actual , expected )