METHOD_0 ( ) { org . eclipse . IDENT_0 . IDENT_1 . resource . Path path = new org . eclipse . IDENT_0 . IDENT_1 . resource . Path ( org . eclipse . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_6 . METHOD_1 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( path ) ; IDENT_8 . METHOD_3 ( IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . eclipse . IDENT_0 . IDENT_1 . resource . Path ) { for ( org . eclipse . IDENT_0 . IDENT_1 . api . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 : IDENT_10 . METHOD_5 ( ) ) { org . eclipse . IDENT_0 . IDENT_1 . api . IDENT_10 . IDENT_14 IDENT_15 = ( ( org . eclipse . IDENT_0 . IDENT_1 . api . IDENT_10 . IDENT_14 ) ( IDENT_13 ) ) ; org . eclipse . IDENT_0 . IDENT_1 . resource . Path IDENT_16 = IDENT_15 . METHOD_1 ( ) . METHOD_2 ( ) ; if ( IDENT_16 . equals ( path ) ) { return IDENT_15 ; } } return null ; }
org . junit . Assert . assertEquals ( IDENT_6 , IDENT_8 . METHOD_4 ( path ) )