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