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