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