METHOD_0 ( ) { org . springframework . IDENT_0 . IDENT_1 . commons . IDENT_2 . client . IDENT_3 client = IDENT_2 . client ; org . springframework . IDENT_0 . IDENT_1 . commons . IDENT_2 . client . IDENT_4 IDENT_5 = org . mockito . Mockito . mock ( org . springframework . IDENT_0 . IDENT_1 . commons . IDENT_2 . client . IDENT_4 . class ) ; when ( IDENT_5 . getName ( ) ) . thenReturn ( STRING_0 ) ; when ( client . METHOD_1 ( ) ) . thenReturn ( com . google . common . collect . ImmutableList . of ( IDENT_5 ) ) ; org . springframework . IDENT_0 . IDENT_1 . commons . IDENT_2 . client . IDENT_6 . IDENT_7 target = IDENT_8 . METHOD_2 ( ) . get ( 0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { java . lang . String key = getName ( ) ; return this . IDENT_9 . get ( key ) ; }
org . junit . Assert . assertEquals ( STRING_0 , target . METHOD_1 ( ) . get ( 0 ) . getName ( ) )