METHOD_0 ( ) { final java . lang . String url = STRING_0 ; final org . IDENT_0 . IDENT_1 . jdbc . IDENT_2 actual = org . IDENT_0 . IDENT_1 . jdbc . IDENT_2 . METHOD_1 ( url ) ; final java . util . Properties properties = new java . util . Properties ( ) ; properties . put ( STRING_1 , STRING_2 ) ; properties . put ( STRING_3 , STRING_4 ) ; final org . IDENT_0 . IDENT_1 . jdbc . IDENT_2 expected = new org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 ( new org . IDENT_0 . IDENT_1 . core . client . IDENT_3 . IDENT_4 [ ] { new org . IDENT_0 . IDENT_1 . core . client . IDENT_3 . METHOD_3 ( STRING_5 , INT_0 ) } , STRING_6 , properties ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { URL = URL . trim ( ) . substring ( org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 . IDENT_5 . length ( ) ) ; final int IDENT_6 = URL . indexOf ( STRING_7 ) ; if ( IDENT_6 == ( - 1 ) ) { throw new org . IDENT_0 . IDENT_1 . exception . METHOD_4 ( ( STRING_8 + ( org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 . IDENT_7 ) ) ) ; } final org . IDENT_0 . IDENT_1 . core . client . IDENT_3 . METHOD_3 [ ] IDENT_8 ; try { IDENT_8 = org . IDENT_0 . IDENT_1 . core . client . IDENT_3 . METHOD_3 . METHOD_5 ( URL . substring ( 0 , IDENT_6 ) ) ; } catch ( java . lang . Exception e ) { throw new org . IDENT_0 . IDENT_1 . exception . METHOD_4 ( ( STRING_8 + ( org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 . IDENT_7 ) ) ) ; } URL = URL . substring ( ( IDENT_6 + 1 ) ) ; final int IDENT_9 = URL . indexOf ( STRING_9 ) ; final java . lang . String IDENT_10 ; final java . util . Properties properties ; if ( IDENT_9 == ( - 1 ) ) { IDENT_10 = URL ; properties = org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 . IDENT_11 ; } else { IDENT_10 = URL . substring ( 0 , IDENT_9 ) ; properties = new java . util . Properties ( ) ; URL = URL . substring ( ( IDENT_9 + 1 ) ) ; final java . lang . String [ ] IDENT_12 = URL . split ( STRING_10 ) ; java . lang . String IDENT_13 ; java . lang . String [ ] IDENT_14 ; java . lang . String key ; java . lang . String value ; for ( int index = 0 , size = IDENT_12 . length ; index < size ; index ++ ) { IDENT_13 = IDENT_12 [ index ] ; if ( org . IDENT_0 . IDENT_1 . util . StringUtils . METHOD_6 ( IDENT_13 ) ) { throw new org . IDENT_0 . IDENT_1 . exception . METHOD_4 ( ( STRING_8 + ( org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 . IDENT_7 ) ) ) ; } IDENT_14 = IDENT_13 . split ( STRING_11 ) ; if ( ( IDENT_14 . length ) != 2 ) { throw new org . IDENT_0 . IDENT_1 . exception . METHOD_4 ( ( STRING_8 + ( org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 . IDENT_7 ) ) ) ; } key = IDENT_14 [ 0 ] ; value = IDENT_14 [ 1 ] ; if ( ( org . IDENT_0 . IDENT_1 . util . StringUtils . METHOD_6 ( key ) ) || ( org . IDENT_0 . IDENT_1 . util . StringUtils . METHOD_6 ( value ) ) ) { throw new org . IDENT_0 . IDENT_1 . exception . METHOD_4 ( ( STRING_8 + ( org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 . IDENT_7 ) ) ) ; } properties . put ( IDENT_14 [ 0 ] . trim ( ) , IDENT_14 [ 1 ] . trim ( ) ) ; } } return new org . IDENT_0 . IDENT_1 . jdbc . METHOD_2 ( IDENT_8 , IDENT_10 , properties ) ; }
org . junit . Assert . assertEquals ( expected , actual )