METHOD_0 ( ) { when ( base . METHOD_1 ( ) ) . thenReturn ( client ) ; when ( client . getName ( ) ) . thenReturn ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 IDENT_4 = factory . newInstance ( "name" , com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_5 . IDENT_6 , base ) ; java . lang . String result = IDENT_4 . getName ( ) ; "<AssertPlaceHolder>" ; } getName ( ) { return name ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( STRING_0 ) )