METHOD_0 ( ) { org . talend . repository . model . IDENT_0 IDENT_1 = mock ( org . talend . repository . model . IDENT_0 . class ) ; org . talend . core . model . repository . IDENT_2 object = mock ( org . talend . core . model . repository . IDENT_2 . class ) ; org . talend . core . model . properties . IDENT_3 property = mock ( org . talend . core . model . properties . IDENT_3 . class ) ; org . talend . core . model . properties . IDENT_4 item = mock ( org . talend . core . model . properties . IDENT_4 . class ) ; when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( object ) ; when ( object . METHOD_2 ( ) ) . thenReturn ( IDENT_5 . IDENT_6 ) ; when ( object . getProperty ( ) ) . thenReturn ( property ) ; when ( object . METHOD_3 ( ) ) . thenReturn ( IDENT_7 . IDENT_8 ) ; when ( property . METHOD_4 ( ) ) . thenReturn ( item ) ; org . talend . core . repository . ui . IDENT_9 . IDENT_10 IDENT_11 = org . talend . core . repository . ui . IDENT_9 . IDENT_10 . getInstance ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . talend . repository . model . IDENT_0 , org . talend . repository . model . IDENT_0 , boolean ) { if ( IDENT_1 == null ) { return false ; } org . talend . core . model . repository . IDENT_12 IDENT_13 = IDENT_1 . METHOD_1 ( ) ; if ( ( IDENT_14 && ( IDENT_13 != null ) ) && ( ( org . talend . core . repository . model . IDENT_15 . getInstance ( ) . getStatus ( IDENT_13 ) ) == ( org . talend . commons . runtime . model . repository . IDENT_7 . IDENT_16 ) ) ) { return false ; } if ( ( IDENT_14 && ( IDENT_13 != null ) ) && ( ( IDENT_13 . METHOD_2 ( ) . equals ( IDENT_5 . IDENT_6 ) ) || ( IDENT_13 . METHOD_2 ( ) . equals ( IDENT_5 . IDENT_17 ) ) ) ) { return false ; } if ( ( ( IDENT_1 . getType ( ) ) == ( org . talend . repository . model . IDENT_18 . IDENT_19 . IDENT_20 ) ) && ( ( IDENT_1 . METHOD_6 ( ) ) == ( org . talend . core . model . repository . IDENT_5 . IDENT_21 ) ) ) { return false ; } if ( ( ( IDENT_1 . getType ( ) ) == ( org . talend . repository . model . IDENT_18 . IDENT_19 . IDENT_20 ) ) && ( ( IDENT_1 . METHOD_6 ( ) ) == ( org . talend . core . model . repository . IDENT_5 . IDENT_22 ) ) ) { return false ; } if ( IDENT_23 == null ) { switch ( IDENT_1 . getType ( ) ) { case IDENT_24 : case IDENT_20 : return true ; default : return false ; } } if ( IDENT_1 . equals ( IDENT_23 ) ) { return false ; } IDENT_25 = org . talend . repository . model . IDENT_26 . getPath ( IDENT_1 ) ; IDENT_27 = org . talend . repository . model . IDENT_26 . getPath ( IDENT_23 ) ; if ( ( IDENT_1 . getType ( ) ) == ( org . talend . repository . model . IDENT_18 . IDENT_19 . IDENT_24 ) ) { IDENT_28 = ( ( ( IDENT_23 . METHOD_6 ( ) ) == ( org . talend . core . model . repository . IDENT_5 . IDENT_29 ) ) && ( ( IDENT_1 . METHOD_7 ( IDENT_30 . IDENT_31 ) ) != ( org . talend . core . model . repository . IDENT_5 . IDENT_29 ) ) ) && ( ( IDENT_1 . METHOD_1 ( ) ) instanceof org . talend . core . repository . model . IDENT_32 . IDENT_33 ) ; if ( ( ! ( IDENT_28 ) ) && ( ! ( org . talend . commons . utils . workbench . resources . IDENT_34 . METHOD_8 ( IDENT_25 , IDENT_27 , false ) ) ) ) { return false ; } switch ( IDENT_23 . getType ( ) ) { case IDENT_35 : case IDENT_20 : boolean IDENT_36 = ( ( org . talend . core . model . repository . IDENT_5 ) ( IDENT_23 . METHOD_7 ( IDENT_30 . IDENT_31 ) ) ) . equals ( IDENT_1 . METHOD_7 ( IDENT_30 . IDENT_31 ) ) ; if ( IDENT_28 ) { return true ; } else { return IDENT_36 ; } case IDENT_37 : boolean IDENT_38 = ( IDENT_1 . METHOD_7 ( IDENT_30 . IDENT_31 ) ) == ( org . talend . core . model . repository . IDENT_5 . IDENT_39 ) ; boolean IDENT_40 = IDENT_23 . METHOD_9 ( ) ; if ( METHOD_9 && IDENT_38 ) { org . talend . repository . model . IDENT_41 factory = org . talend . core . repository . model . IDENT_15 . getInstance ( ) ; java . util . List < org . talend . core . repository . model . IDENT_42 > IDENT_43 = org . talend . core . repository . ui . IDENT_9 . IDENT_44 . METHOD_10 ( factory , null , IDENT_1 ) ; org . talend . core . repository . ui . IDENT_9 . IDENT_45 . getInstance ( ) . METHOD_11 ( ) ; if ( ( IDENT_43 . size ( ) ) > 0 ) { org . talend . core . repository . ui . IDENT_46 . IDENT_47 IDENT_46 = new org . talend . core . repository . ui . IDENT_46 . METHOD_12 ( org . eclipse . ui . IDENT_48 . METHOD_13 ( ) . METHOD_14 ( ) . METHOD_15 ( ) , IDENT_1 . METHOD_1 ( ) , IDENT_43 ) ; IDENT_46 . METHOD_16 ( ) ; return false ; } } return METHOD_9 ; default : return false ; } } else if ( ( IDENT_1 . getType ( ) ) == ( org . talend . repository . model . IDENT_18 . IDENT_19 . IDENT_20 ) ) { if ( ( ( IDENT_23 . getType ( ) ) != ( org . talend . repository . model . IDENT_18 . IDENT_19 . IDENT_20 ) ) && ( ( IDENT_23 . getType ( ) ) != ( org . talend . repository . model . IDENT_18 . IDENT_19 . IDENT_35 ) ) ) { return false ; } org . talend . core . model . repository . IDENT_5 IDENT_49 = ( ( org . talend . core . model . repository . IDENT_5 ) ( IDENT_1 . METHOD_7 ( IDENT_30 . IDENT_31 ) ) ) ; if ( ( ( org . talend . core . model . repository . IDENT_5 ) ( IDENT_23 . METHOD_7 ( IDENT_30 . IDENT_31 ) ) ) != IDENT_49 ) { return false ; } if ( ! ( org . talend . commons . utils . workbench . resources . IDENT_34 . METHOD_8 ( IDENT_25 , IDENT_27 , true ) ) ) { return false ; } org . talend . repository . model . IDENT_41 factory = org . talend . core . repository . model . IDENT_15 . getInstance ( ) ; try { if ( ! ( factory . METHOD_17 ( IDENT_49 , IDENT_27 , IDENT_25 . METHOD_18 ( ) ) ) ) { return false ; } } catch ( org . talend . commons . exception . IDENT_50 e ) { org . talend . commons . ui . runtime . exception . IDENT_51 . process ( e ) ; return false ; } return true ; } else { return false ; } }
org . junit . Assert . assertFalse ( IDENT_11 . METHOD_5 ( IDENT_1 , null , true ) )