METHOD_0 ( ) { when ( IDENT_0 . getValue ( eq ( "foo" ) , anyString ( ) ) ) . thenReturn ( "bar" ) ; java . lang . String value = IDENT_1 . METHOD_1 ( "foo" ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { javax . IDENT_2 . IDENT_3 request = METHOD_2 ( ) ; javax . IDENT_2 . IDENT_4 IDENT_0 = request . METHOD_3 ( ) ; return IDENT_0 . getValue ( name , null ) ; }
org . junit . Assert . assertThat ( value , org . hamcrest . CoreMatchers . is ( "bar" ) )