METHOD_0 ( ) { org . talend . IDENT_0 . nodes . IDENT_1 IDENT_2 = mock ( org . talend . IDENT_0 . nodes . IDENT_1 . class ) ; IDENT_3 . IDENT_4 . IDENT_5 . core . IDENT_6 IDENT_7 = mock ( IDENT_3 . IDENT_4 . IDENT_5 . core . IDENT_6 . class ) ; METHOD_1 ( method ( org . talend . IDENT_0 . helper . IDENT_8 . class , STRING_0 , org . talend . IDENT_0 . nodes . IDENT_1 . class ) ) . METHOD_2 ( IDENT_7 ) ; org . IDENT_9 . api . mockito . IDENT_10 . METHOD_3 ( org . eclipse . core . resources . IDENT_11 . class ) ; org . eclipse . core . resources . IDENT_12 IDENT_13 = mock ( org . eclipse . core . resources . IDENT_12 . class ) ; when ( org . eclipse . core . resources . IDENT_11 . METHOD_4 ( ) ) . thenReturn ( IDENT_13 ) ; org . eclipse . core . resources . IDENT_14 IDENT_15 = mock ( org . eclipse . core . resources . IDENT_14 . class ) ; when ( IDENT_13 . METHOD_5 ( ) ) . thenReturn ( IDENT_15 ) ; org . eclipse . IDENT_16 . IDENT_17 . resource . IDENT_18 IDENT_19 = mock ( org . eclipse . IDENT_16 . IDENT_17 . resource . IDENT_18 . class ) ; when ( IDENT_7 . METHOD_6 ( ) ) . thenReturn ( IDENT_19 ) ; java . lang . String IDENT_20 = STRING_1 ; org . eclipse . IDENT_16 . common . util . URI uri = org . eclipse . IDENT_16 . common . util . URI . METHOD_7 ( IDENT_20 ) ; when ( IDENT_19 . METHOD_8 ( ) ) . thenReturn ( uri ) ; org . eclipse . core . resources . IDENT_21 IDENT_22 = mock ( org . eclipse . core . resources . IDENT_21 . class ) ; when ( IDENT_15 . METHOD_9 ( ( ( org . eclipse . core . runtime . Path ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_22 ) ; org . eclipse . core . resources . IDENT_21 IDENT_23 = org . talend . IDENT_0 . helper . IDENT_8 . METHOD_10 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( org . talend . repository . model . IDENT_24 ) { org . eclipse . core . resources . IDENT_21 file = null ; if ( node != null ) { try { IDENT_3 . IDENT_4 . IDENT_5 . core . IDENT_6 me = org . talend . IDENT_0 . helper . IDENT_8 . METHOD_11 ( node ) ; org . eclipse . core . resources . IDENT_14 root = org . eclipse . core . resources . IDENT_11 . METHOD_4 ( ) . METHOD_5 ( ) ; if ( me != null ) { org . eclipse . IDENT_16 . common . util . URI uri = me . METHOD_6 ( ) . METHOD_8 ( ) ; java . lang . String IDENT_25 = uri . METHOD_12 ( Boolean . IDENT_26 ) ; if ( IDENT_25 == null ) { IDENT_25 = uri . METHOD_13 ( ) ; } file = root . METHOD_9 ( new org . eclipse . core . runtime . Path ( IDENT_25 ) ) ; } else if ( ( node . METHOD_14 ( ) ) != null ) { org . talend . core . model . properties . IDENT_27 property = node . METHOD_14 ( ) . getProperty ( ) ; if ( property != null ) { org . talend . core . model . properties . IDENT_28 item = property . METHOD_15 ( ) ; org . eclipse . IDENT_16 . common . util . URI uri = item . METHOD_6 ( ) . METHOD_8 ( ) ; java . lang . String IDENT_29 = uri . METHOD_12 ( Boolean . IDENT_26 ) ; if ( IDENT_29 == null ) { IDENT_29 = uri . METHOD_13 ( ) ; } int IDENT_30 = IDENT_29 . METHOD_16 ( STRING_2 ) ; java . lang . String IDENT_20 = ( ( IDENT_29 . substring ( 0 , METHOD_16 ) ) + STRING_2 ) + ( org . talend . IDENT_0 . helper . IDENT_8 . METHOD_17 ( item ) ) ; file = root . METHOD_9 ( new org . eclipse . core . runtime . Path ( IDENT_20 ) ) ; } } } catch ( java . lang . Exception e ) { org . talend . IDENT_0 . helper . IDENT_8 . log . error ( e , e ) ; } } return file ; }
org . junit . Assert . assertEquals ( IDENT_22 , IDENT_23 )