METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String > args = new java . util . HashMap ( ) ; org . IDENT_0 . model . IDENT_1 IDENT_2 = new org . IDENT_0 . model . METHOD_1 ( 1 , 1 , STRING_0 , args , STRING_1 , STRING_1 , false , INT_0 , true , INT_1 , 100 ) ; org . IDENT_0 . model . METHOD_1 IDENT_3 = new org . IDENT_0 . model . METHOD_1 ( 2 , 1 , STRING_0 , args , STRING_1 , STRING_1 , false , INT_0 , true , INT_1 , 100 ) ; org . IDENT_0 . model . METHOD_1 IDENT_4 = new org . IDENT_0 . model . METHOD_1 ( 3 , 1 , STRING_0 , args , STRING_1 , STRING_1 , false , INT_0 , true , INT_1 , 100 ) ; org . IDENT_0 . model . METHOD_1 IDENT_5 = new org . IDENT_0 . model . METHOD_1 ( 4 , 1 , STRING_0 , args , STRING_1 , STRING_1 , false , INT_0 , true , INT_1 , 100 ) ; IDENT_6 . insert ( new org . IDENT_0 . model . METHOD_1 [ ] { IDENT_2 , IDENT_3 , IDENT_4 , IDENT_5 } ) ; java . util . List < java . lang . String > order = new java . util . ArrayList ( ) ; order . add ( STRING_2 ) ; java . util . List < java . lang . Boolean > IDENT_7 = new java . util . ArrayList ( ) ; IDENT_7 . add ( false ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( long , long , java . util . List , java . util . List ) { org . springframework . jdbc . core . IDENT_8 IDENT_9 = new org . springframework . jdbc . core . METHOD_3 ( IDENT_10 ) ; boolean IDENT_11 = false ; java . lang . String sql = ( STRING_3 + ( org . IDENT_0 . IDENT_12 . dao . IDENT_13 . IDENT_14 ) ) + STRING_4 ; for ( int i = 0 ; i < ( IDENT_15 . size ( ) ) ; i ++ ) { java . lang . String IDENT_16 = IDENT_15 . get ( i ) ; if ( ! ( IDENT_17 . contains ( IDENT_16 ) ) ) { continue ; } if ( IDENT_16 . equals ( STRING_2 ) ) { IDENT_11 = true ; } if ( IDENT_16 . equals ( org . IDENT_0 . IDENT_12 . dao . IDENT_13 . IDENT_18 ) ) { sql = sql + STRING_5 ; } else { sql = sql + IDENT_16 ; } if ( ( IDENT_19 . size ( ) ) > i ) { if ( IDENT_19 . get ( i ) ) { sql = sql + STRING_6 ; } sql = sql + STRING_7 ; } } if ( ! IDENT_11 ) { sql = sql + STRING_8 ; } sql = sql . substring ( 0 , ( ( sql . length ( ) ) - 1 ) ) ; sql = ( ( ( ( sql + STRING_9 ) + start ) + STRING_7 ) + offset ) + STRING_10 ; return IDENT_9 . query ( sql , new org . IDENT_0 . IDENT_12 . dao . IDENT_13 . METHOD_4 ( ) ) ; }
org . junit . Assert . assertTrue ( IDENT_6 . METHOD_2 ( 2 , 1 , order , IDENT_7 ) . get ( 0 ) . equals ( IDENT_4 ) )