METHOD_0 ( ) { connection = IDENT_0 . IDENT_1 . METHOD_1 ( ) ; node = org . mockito . Mockito . mock ( org . talend . core . model . process . IDENT_2 . class ) ; connection . METHOD_2 ( true ) ; org . talend . IDENT_3 . IDENT_4 . IDENT_5 table = IDENT_6 . IDENT_1 . METHOD_3 ( ) ; table . setName ( STRING_0 ) ; table . METHOD_4 ( STRING_1 ) ; org . talend . IDENT_3 . IDENT_4 . IDENT_7 IDENT_8 = IDENT_6 . IDENT_1 . METHOD_5 ( ) ; IDENT_8 . setName ( STRING_2 ) ; org . talend . IDENT_3 . IDENT_4 . IDENT_7 IDENT_9 = IDENT_6 . IDENT_1 . METHOD_5 ( ) ; IDENT_9 . setName ( "name" ) ; table . METHOD_6 ( ) . add ( IDENT_8 ) ; table . METHOD_6 ( ) . add ( IDENT_9 ) ; IDENT_10 = org . talend . core . model . metadata . builder . IDENT_11 . convert ( table ) ; org . talend . IDENT_12 . core . model . components . IDENT_13 parameter = new org . talend . IDENT_12 . core . model . components . METHOD_7 ( node ) ; parameter . setName ( STRING_1 0 ) ; parameter . setValue ( table . getName ( ) ) ; org . mockito . Mockito . when ( node . METHOD_8 ( IDENT_14 . IDENT_15 . getName ( ) ) ) . thenReturn ( STRING_3 ) ; org . mockito . Mockito . when ( node . METHOD_9 ( IDENT_16 . IDENT_17 ) ) . thenReturn ( parameter ) ; java . lang . String schema = STRING_4 ; java . lang . String IDENT_18 = IDENT_19 . IDENT_20 . METHOD_10 ( ) ; java . lang . String IDENT_21 = STRING_5 ; org . talend . IDENT_12 . core . ui . IDENT_22 . IDENT_23 . IDENT_24 command = new org . talend . IDENT_12 . core . ui . IDENT_22 . IDENT_23 . METHOD_11 ( node , IDENT_10 , schema , IDENT_18 , connection ) ; java . lang . reflect . Method method = command . getClass ( ) . METHOD_12 ( STRING_6 ) ; method . METHOD_13 ( true ) ; java . lang . String IDENT_25 = ( ( java . lang . String ) ( method . invoke ( command ) ) ) ; "<AssertPlaceHolder>" ; } invoke ( org . apache . IDENT_26 . context . IDENT_27 ) { org . apache . IDENT_28 . IDENT_29 . IDENT_30 header = IDENT_31 . METHOD_14 ( ) . METHOD_15 ( ) ; if ( header != null ) { java . util . Iterator < ? > IDENT_32 = header . METHOD_16 ( ) ; while ( IDENT_32 . hasNext ( ) ) { org . apache . IDENT_28 . IDENT_29 . IDENT_33 block = ( ( org . apache . IDENT_28 . IDENT_29 . IDENT_33 ) ( IDENT_32 . next ( ) ) ) ; if ( block != null ) { if ( block . METHOD_17 ( ) . equals ( STRING_7 ) ) { block . METHOD_18 ( ) ; } } } } return IDENT_34 . IDENT_35 ; }
org . junit . Assert . assertEquals ( IDENT_21 , IDENT_25 )