METHOD_0 ( ) { java . lang . String tableName = STRING_0 ; java . util . List < org . talend . IDENT_0 . IDENT_1 > list = new java . util . ArrayList ( ) ; list . add ( new org . talend . IDENT_0 . METHOD_1 ( tableName ) ) ; IDENT_2 . tableName . setValue ( tableName ) ; try ( org . talend . components . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = new org . talend . components . IDENT_3 . IDENT_4 . METHOD_2 ( ) ) { IDENT_6 . METHOD_3 ( ) ; org . mockito . Mockito . when ( IDENT_6 . IDENT_7 . METHOD_4 ( null ) ) . thenReturn ( list ) ; org . mockito . Mockito . when ( IDENT_6 . IDENT_7 . METHOD_5 ( null , tableName ) ) . METHOD_6 ( new java . io . IOException ( STRING_1 ) ) ; IDENT_2 . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; } } METHOD_8 ( ) { org . talend . IDENT_0 . properties . IDENT_8 IDENT_9 = new org . talend . IDENT_0 . properties . METHOD_9 ( ) ; if ( METHOD_10 ( ) ) { try ( org . talend . IDENT_0 . IDENT_10 . IDENT_11 IDENT_12 = org . talend . components . IDENT_3 . IDENT_13 . METHOD_11 ( org . talend . components . IDENT_3 . IDENT_13 . IDENT_14 , org . talend . components . IDENT_3 . IDENT_13 . IDENT_15 ) ) { org . talend . components . IDENT_3 . IDENT_16 IDENT_17 = ( ( org . talend . components . IDENT_3 . IDENT_16 ) ( IDENT_12 . getInstance ( ) ) ) ; IDENT_17 . METHOD_12 ( null , connection ) ; IDENT_18 . schema . setValue ( IDENT_17 . METHOD_5 ( null , tableName . getValue ( ) ) ) ; } catch ( java . lang . Exception ex ) { IDENT_9 . METHOD_13 ( ex . getMessage ( ) ) ; IDENT_9 . METHOD_14 ( IDENT_19 . Result . IDENT_20 ) ; } } tableName . METHOD_15 ( java . util . Collections . < org . talend . IDENT_0 . IDENT_1 > emptyList ( ) ) ; return IDENT_9 ; }
org . junit . Assert . assertEquals ( IDENT_19 . Result . IDENT_20 , IDENT_2 . METHOD_8 ( ) . getStatus ( ) )