METHOD_0 ( ) { when ( IDENT_0 . getName ( ) ) . thenReturn ( STRING_0 ) ; java . lang . String name = IDENT_1 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . getName ( ) ; METHOD_2 ( IDENT_0 ) ; } METHOD_1 ( ) { return IDENT_0 . getName ( ) ; }
org . junit . Assert . assertThat ( name , org . hamcrest . Matchers . is ( STRING_0 ) )