METHOD_0 ( ) { org . talend . repository . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = new org . talend . repository . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_1 ( ) ; org . talend . repository . IDENT_0 . IDENT_1 . IDENT_2 . model . IDENT_6 IDENT_6 = new org . talend . repository . IDENT_0 . IDENT_1 . IDENT_2 . model . METHOD_2 ( IDENT_7 ) ; METHOD_2 . METHOD_3 ( IDENT_7 . METHOD_4 ( ) ) ; org . talend . core . model . properties . IDENT_8 property = mock ( org . talend . core . model . properties . IDENT_8 . class ) ; METHOD_2 . setProperty ( property ) ; org . talend . repository . IDENT_0 . IDENT_1 . manager . IDENT_9 IDENT_10 = mock ( org . talend . repository . IDENT_0 . IDENT_1 . manager . IDENT_9 . class ) ; java . util . Set < org . eclipse . core . runtime . IDENT_11 > IDENT_12 = new java . util . HashSet < org . eclipse . core . runtime . IDENT_11 > ( ) ; org . eclipse . core . runtime . IDENT_11 IDENT_13 = new org . eclipse . core . runtime . Path ( ( STRING_0 + ( org . talend . core . repository . IDENT_14 . IDENT_15 . IDENT_16 ) ) ) ; IDENT_12 . add ( IDENT_13 ) ; IDENT_12 . add ( IDENT_7 ) ; IDENT_12 . add ( IDENT_17 ) ; when ( IDENT_10 . METHOD_5 ( ) ) . thenReturn ( IDENT_12 ) ; org . eclipse . IDENT_18 . IDENT_19 . resource . IDENT_20 resource = IDENT_5 . METHOD_6 ( IDENT_10 , METHOD_2 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . talend . repository . IDENT_0 . IDENT_1 . manager . IDENT_9 , org . talend . repository . IDENT_0 . IDENT_1 . IDENT_2 . model . METHOD_2 ) { java . io . InputStream stream = null ; try { final org . eclipse . IDENT_18 . IDENT_19 . resource . IDENT_20 resource = org . talend . repository . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_21 . METHOD_7 ( IDENT_22 , IDENT_22 . getPath ( ) , false ) ; stream = manager . METHOD_8 ( IDENT_22 . getPath ( ) , IDENT_22 ) ; final org . eclipse . IDENT_18 . IDENT_19 . resource . IDENT_23 IDENT_24 = resource . METHOD_9 ( ) ; org . eclipse . IDENT_18 . IDENT_19 . resource . IDENT_25 IDENT_26 = IDENT_24 . METHOD_10 ( ) ; IDENT_24 . METHOD_11 ( new org . eclipse . IDENT_18 . IDENT_19 . resource . impl . METHOD_12 ( ) { @ org . talend . repository . IDENT_0 . IDENT_1 . IDENT_2 . Override public java . util . Map < java . lang . String , ? > METHOD_13 ( org . eclipse . IDENT_18 . common . util . URI uri , java . util . Map < ? , ? > options ) throws java . io . IOException { org . eclipse . IDENT_18 . IDENT_19 . IDENT_27 IDENT_28 = IDENT_24 . METHOD_14 ( ) . METHOD_15 ( uri . toString ( ) ) ; if ( ( IDENT_28 != null ) || ( ! ( STRING_1 . equals ( uri . METHOD_16 ( ) ) ) ) ) { return super . METHOD_13 ( uri , options ) ; } else { return java . util . Collections . METHOD_17 ( ) ; } } } ) ; resource . load ( stream , null ) ; IDENT_24 . METHOD_11 ( IDENT_26 ) ; return resource ; } catch ( java . lang . Exception e ) { if ( org . eclipse . core . runtime . IDENT_29 . METHOD_18 ( ) ) { org . talend . commons . exception . IDENT_30 . process ( e ) ; } } finally { if ( stream != null ) { try { stream . close ( ) ; } catch ( java . io . IOException e ) { if ( org . eclipse . core . runtime . IDENT_29 . METHOD_18 ( ) ) { org . talend . commons . exception . IDENT_30 . process ( e ) ; } } } } return null ; }
org . junit . Assert . assertNull ( resource )