METHOD_0 ( ) { fr . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . domain . IDENT_4 IDENT_5 = new fr . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . domain . METHOD_1 ( ) ; IDENT_5 . METHOD_2 ( STRING_0 ) ; IDENT_5 . setName ( STRING_1 ) ; IDENT_5 . METHOD_3 ( STRING_2 ) ; IDENT_5 . METHOD_4 ( STRING_3 ) ; IDENT_5 . METHOD_5 ( false ) ; IDENT_5 . METHOD_6 ( ( - 1 ) ) ; IDENT_5 . METHOD_7 ( false ) ; IDENT_5 . METHOD_8 ( STRING_4 ) ; IDENT_5 . METHOD_9 ( false ) ; java . util . Map < java . lang . String , fr . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . domain . METHOD_1 > IDENT_6 = new java . util . HashMap < java . lang . String , fr . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . domain . METHOD_1 > ( ) ; IDENT_6 . put ( STRING_5 , IDENT_5 ) ; when ( IDENT_7 . METHOD_10 ( ) ) . thenReturn ( IDENT_6 ) ; IDENT_3 . connect ( STRING_6 , "" , "" ) ; java . util . Map < java . lang . String , java . util . List < fr . IDENT_0 . IDENT_1 . api . domain . IDENT_8 . IDENT_9 > > metrics = IDENT_3 . METHOD_11 ( ) ; java . util . List < fr . IDENT_0 . IDENT_1 . api . domain . IDENT_8 . IDENT_9 > IDENT_10 = metrics . get ( STRING_3 ) ; fr . IDENT_0 . IDENT_1 . api . domain . IDENT_8 . IDENT_9 IDENT_11 = new fr . IDENT_0 . IDENT_1 . api . domain . IDENT_8 . METHOD_12 ( ) ; IDENT_11 . METHOD_2 ( STRING_0 ) ; IDENT_11 . setName ( STRING_1 ) ; IDENT_11 . METHOD_3 ( STRING_2 ) ; IDENT_11 . METHOD_4 ( STRING_3 ) ; IDENT_11 . METHOD_5 ( false ) ; IDENT_11 . METHOD_6 ( ( - 1 ) ) ; IDENT_11 . METHOD_7 ( false ) ; IDENT_11 . METHOD_8 ( STRING_4 ) ; IDENT_11 . METHOD_9 ( false ) ; "<AssertPlaceHolder>" ; } get ( int ) { return org . apache . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_15 . get ( code ) ; }
org . junit . Assert . assertEquals ( IDENT_11 , IDENT_10 . get ( 0 ) )