METHOD_0 ( ) { org . talend . IDENT_0 . nodes . IDENT_1 IDENT_2 = mock ( org . talend . IDENT_0 . nodes . IDENT_1 . class ) ; org . talend . IDENT_0 . nodes . IDENT_3 IDENT_4 = mock ( org . talend . IDENT_0 . nodes . IDENT_3 . class ) ; java . util . List < org . talend . repository . model . IDENT_5 > IDENT_6 = new java . util . ArrayList < org . talend . repository . model . IDENT_5 > ( ) ; IDENT_6 . add ( IDENT_4 ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( IDENT_6 ) ; boolean IDENT_7 = Boolean . IDENT_8 ; java . lang . String msg = STRING_0 ; org . talend . utils . IDENT_9 . IDENT_10 IDENT_11 = new org . talend . utils . IDENT_9 . METHOD_2 ( msg , IDENT_7 ) ; METHOD_3 ( method ( org . talend . IDENT_12 . core . helper . IDENT_13 . class , STRING_1 , org . talend . IDENT_0 . nodes . IDENT_3 . class ) ) . METHOD_4 ( IDENT_11 ) ; org . talend . IDENT_12 . core . service . IDENT_14 service = new org . talend . IDENT_12 . core . service . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . talend . repository . model . IDENT_15 ) { boolean result = false ; if ( node instanceof org . talend . IDENT_0 . nodes . IDENT_3 ) { result = org . talend . IDENT_12 . core . helper . IDENT_13 . METHOD_7 ( node ) . METHOD_8 ( ) ; } else if ( node instanceof org . talend . IDENT_0 . nodes . IDENT_1 ) { result = org . talend . IDENT_12 . core . helper . IDENT_13 . METHOD_9 ( node ) . METHOD_8 ( ) ; } return result ; }
org . junit . Assert . assertTrue ( service . METHOD_6 ( IDENT_2 ) )