METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . services . IDENT_2 resource = new org . IDENT_0 . IDENT_1 . services . METHOD_1 ( ) ; resource . setName ( "name" ) ; when ( IDENT_3 . METHOD_2 ( anyString ( ) ) ) . thenReturn ( resource ) ; fr . IDENT_4 . IDENT_5 . api . domain . IDENT_6 IDENT_7 = new fr . IDENT_4 . IDENT_5 . api . domain . METHOD_3 ( STRING_0 ) ; java . lang . String name = IDENT_0 . getName ( IDENT_7 ) ; "<AssertPlaceHolder>" ; } getName ( fr . IDENT_4 . IDENT_5 . api . domain . METHOD_3 ) { METHOD_4 ( ) ; METHOD_5 ( IDENT_7 ) ; try { java . lang . String IDENT_8 = IDENT_7 . METHOD_6 ( ) ; org . IDENT_0 . IDENT_1 . services . METHOD_1 resource = IDENT_3 . METHOD_2 ( IDENT_8 ) ; return resource . getName ( ) ; } catch ( fr . IDENT_4 . IDENT_5 . IDENT_9 . IDENT_0 . exception . IDENT_10 e ) { throw new fr . IDENT_4 . IDENT_5 . api . exception . METHOD_7 ( ( STRING_1 + IDENT_7 ) , e ) ; } }
org . junit . Assert . assertEquals ( "name" , name )