METHOD_0 ( ) { try ( org . IDENT_0 . jdbc . IDENT_1 IDENT_2 = new org . IDENT_0 . jdbc . METHOD_1 ( ( ( IDENT_3 ) == null ? STRING_0 : IDENT_3 ) , port , database ) ) { try ( java . sql . IDENT_4 connection = IDENT_2 . METHOD_2 ( IDENT_5 , IDENT_6 ) ) { "<AssertPlaceHolder>" ; } } } isValid ( int ) { if ( ( IDENT_7 ) != null ) { if ( IDENT_7 . METHOD_3 ( ) ) { boolean IDENT_8 = IDENT_7 . isValid ( IDENT_9 ) ; if ( ( IDENT_10 ) != null ) { try { boolean IDENT_11 = IDENT_10 . isValid ( IDENT_9 ) ; if ( ( ( ! IDENT_8 ) && ( IDENT_12 . METHOD_4 ( ) . IDENT_13 ) ) && IDENT_11 ) { METHOD_5 ( ) ; return true ; } } catch ( java . sql . IDENT_14 IDENT_15 ) { } } return IDENT_8 ; } else { boolean IDENT_8 = IDENT_7 . isValid ( IDENT_9 ) ; if ( ( IDENT_16 ) != null ) { try { IDENT_16 . isValid ( IDENT_9 ) ; } catch ( java . sql . IDENT_14 IDENT_15 ) { } } return IDENT_8 ; } } return false ; }
org . junit . Assert . assertEquals ( connection . isValid ( 0 ) , true )