METHOD_0 ( ) { java . util . List < IDENT_0 . jdbc . IDENT_1 > params = new java . util . ArrayList < IDENT_0 . jdbc . IDENT_1 > ( ) ; java . util . List < IDENT_0 . rest . IDENT_2 . IDENT_3 > IDENT_4 = IDENT_0 . jdbc . IDENT_5 . METHOD_1 ( STRING_0 , STRING_1 , params ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String , java . util . List ) { IDENT_0 . jdbc . IDENT_5 . l . debug ( ( ( ( STRING_2 + database ) + STRING_3 ) + IDENT_6 ) ) ; IDENT_0 . config . IDENT_7 IDENT_8 = IDENT_0 . jdbc . IDENT_5 . conf . METHOD_2 ( database ) ; org . apache . commons . IDENT_9 . IDENT_10 run = IDENT_0 . jdbc . IDENT_11 . METHOD_3 ( IDENT_8 ) ; final java . lang . String call = IDENT_0 . IDENT_12 . METHOD_4 ( IDENT_6 , params . size ( ) ) ; java . util . List < IDENT_0 . rest . IDENT_2 . IDENT_3 > IDENT_4 = new java . util . ArrayList < IDENT_0 . rest . IDENT_2 . IDENT_3 > ( ) ; IDENT_0 . jdbc . IDENT_13 conn = null ; IDENT_0 . jdbc . IDENT_14 cs = null ; try { IDENT_0 . jdbc . IDENT_5 . l . debug ( STRING_4 ) ; conn = run . METHOD_5 ( ) . METHOD_6 ( ) ; IDENT_0 . jdbc . IDENT_5 . l . debug ( ( STRING_5 + call ) ) ; cs = conn . METHOD_7 ( call ) ; IDENT_0 . jdbc . IDENT_5 . l . debug ( STRING_6 ) ; final java . util . List < IDENT_0 . jdbc . IDENT_1 > IDENT_15 = IDENT_0 . jdbc . IDENT_5 . METHOD_8 ( cs , params ) ; IDENT_0 . jdbc . IDENT_5 . l . debug ( STRING_7 ) ; if ( cs . execute ( ) ) { IDENT_0 . jdbc . IDENT_5 . l . debug ( ( STRING_8 + IDENT_6 ) ) ; IDENT_0 . jdbc . ResultSet rs = cs . METHOD_9 ( ) ; IDENT_0 . handler . IDENT_16 handler = new IDENT_0 . handler . METHOD_10 ( true ) ; IDENT_4 = handler . METHOD_11 ( rs ) ; } else if ( ! ( IDENT_15 . isEmpty ( ) ) ) { IDENT_0 . jdbc . IDENT_5 . l . debug ( ( STRING_9 + IDENT_6 ) ) ; java . util . Map < java . lang . String , java . lang . String > results = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; for ( IDENT_0 . jdbc . IDENT_1 p : IDENT_15 ) { results . put ( p . getName ( ) , cs . getString ( p . METHOD_12 ( ) ) ) ; } IDENT_4 . add ( new IDENT_0 . rest . IDENT_2 . METHOD_13 ( 0 , results ) ) ; } } catch ( IDENT_0 . jdbc . IDENT_17 ex ) { IDENT_0 . jdbc . IDENT_5 . l . debug ( ex . getMessage ( ) ) ; throw ex ; } finally { try { if ( ( cs != null ) && ( ! ( cs . METHOD_14 ( ) ) ) ) cs . close ( ) ; } catch ( IDENT_0 . jdbc . IDENT_17 ex ) { IDENT_0 . jdbc . IDENT_5 . l . debug ( ex . getMessage ( ) ) ; } try { if ( ( conn != null ) && ( ! ( conn . METHOD_14 ( ) ) ) ) conn . close ( ) ; } catch ( IDENT_0 . jdbc . IDENT_17 ex ) { IDENT_0 . jdbc . IDENT_5 . l . debug ( ex . getMessage ( ) ) ; } } IDENT_0 . jdbc . IDENT_5 . l . debug ( ( ( STRING_10 + ( IDENT_4 . size ( ) ) ) + STRING_11 ) ) ; return IDENT_4 ; }
org . junit . Assert . assertEquals ( 1 , IDENT_4 . size ( ) )