METHOD_0 ( ) { try ( org . talend . components . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . talend . components . IDENT_0 . IDENT_1 . METHOD_1 ( ) ) { IDENT_3 . METHOD_2 ( ) ; org . mockito . Mockito . when ( IDENT_3 . IDENT_4 . METHOD_3 ( properties ) ) . thenReturn ( new org . talend . IDENT_5 . properties . METHOD_4 ( org . talend . IDENT_5 . properties . METHOD_4 . Result . IDENT_6 ) ) ; "<AssertPlaceHolder>" ; } } METHOD_5 ( org . talend . IDENT_5 . properties . service . IDENT_7 ) { org . talend . components . jdbc . IDENT_8 IDENT_9 = new org . talend . components . jdbc . METHOD_6 ( this , STRING_0 ) ; try ( org . talend . IDENT_5 . IDENT_10 . IDENT_11 IDENT_12 = org . talend . IDENT_5 . runtime . IDENT_13 . METHOD_7 ( IDENT_9 , connection . getClass ( ) . METHOD_8 ( ) ) ) { org . talend . components . jdbc . runtime . IDENT_14 . IDENT_15 IDENT_16 = ( ( org . talend . components . jdbc . runtime . IDENT_14 . IDENT_15 ) ( IDENT_12 . getInstance ( ) ) ) ; IDENT_16 . METHOD_9 ( null , this ) ; org . talend . IDENT_5 . properties . METHOD_4 IDENT_17 = IDENT_16 . validate ( null ) ; if ( ( IDENT_17 . getStatus ( ) ) != ( METHOD_4 . Result . IDENT_18 ) ) { return IDENT_17 ; } repo . METHOD_10 ( this , this . name . getValue ( ) , IDENT_19 , null ) ; return org . talend . IDENT_5 . properties . METHOD_4 . IDENT_18 ; } }
org . junit . Assert . assertEquals ( Result . IDENT_6 , properties . METHOD_5 ( repo ) . getStatus ( ) )