METHOD_0 ( ) { org . IDENT_0 . api . mockito . IDENT_1 . METHOD_1 ( org . talend . core . IDENT_2 . class ) ; org . talend . core . IDENT_2 IDENT_3 = org . IDENT_0 . api . mockito . IDENT_1 . mock ( org . talend . core . IDENT_2 . class ) ; org . IDENT_0 . api . mockito . IDENT_1 . when ( org . talend . core . IDENT_2 . METHOD_2 ( ) ) . thenReturn ( IDENT_3 ) ; org . IDENT_0 . api . mockito . IDENT_1 . when ( IDENT_3 . METHOD_3 ( org . talend . core . ui . IDENT_4 . class ) ) . thenReturn ( false ) ; org . IDENT_0 . api . mockito . IDENT_1 . when ( IDENT_3 . METHOD_4 ( org . talend . core . ui . IDENT_4 . class ) ) . thenReturn ( null ) ; org . talend . repository . IDENT_5 . IDENT_6 . IDENT_7 . models . IDENT_8 IDENT_9 = new org . talend . repository . IDENT_5 . IDENT_6 . IDENT_7 . models . METHOD_5 ( ) ; org . talend . core . model . properties . IDENT_10 IDENT_11 = IDENT_12 . IDENT_13 . METHOD_6 ( ) ; org . talend . core . model . properties . IDENT_14 property = IDENT_12 . IDENT_13 . METHOD_7 ( ) ; property . METHOD_8 ( STRING_0 ) ; IDENT_11 . setProperty ( property ) ; org . talend . repository . IDENT_5 . IDENT_6 . IDENT_15 . model . IDENT_16 IDENT_17 = new org . talend . repository . IDENT_5 . IDENT_6 . IDENT_15 . model . METHOD_9 ( new org . eclipse . core . runtime . Path ( STRING_1 ) ) ; IDENT_17 . setProperty ( IDENT_11 . getProperty ( ) ) ; java . util . List < org . talend . repository . IDENT_5 . IDENT_6 . IDENT_15 . model . METHOD_9 > IDENT_18 = new java . util . ArrayList < org . talend . repository . IDENT_5 . IDENT_6 . IDENT_15 . model . METHOD_9 > ( ) ; IDENT_18 . add ( IDENT_17 ) ; IDENT_9 . METHOD_10 ( IDENT_18 ) ; java . util . List < org . talend . repository . IDENT_5 . IDENT_6 . IDENT_15 . model . METHOD_9 > IDENT_19 = java . util . Arrays . asList ( IDENT_9 . METHOD_11 ( ) ) ; "<AssertPlaceHolder>" ; } contains ( java . io . File ) { for ( org . talend . metadata . IDENT_20 . ui . IDENT_21 . IDENT_22 . IDENT_23 info : IDENT_24 ) { if ( info . file . equals ( file ) ) { return true ; } } return false ; }
org . junit . Assert . assertTrue ( IDENT_19 . contains ( IDENT_17 ) )