METHOD_0 ( ) { java . lang . String name = "name" ; when ( delegate . METHOD_1 ( ) ) . thenReturn ( name ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return delegate . METHOD_1 ( ) ; }
org . junit . Assert . assertEquals ( name , mapping . METHOD_1 ( ) )