METHOD_0 ( ) { int page = 1 ; int size = 10 ; org . springframework . data . domain . IDENT_0 . IDENT_1 order = org . springframework . data . domain . IDENT_0 . IDENT_1 . IDENT_2 ; java . lang . String IDENT_3 = STRING_0 0 ; java . lang . String IDENT_4 = STRING_1 ; org . springframework . data . domain . IDENT_5 < ca . IDENT_6 . IDENT_7 . IDENT_8 . model . user . User > IDENT_9 = new org . springframework . data . domain . METHOD_1 ( com . google . common . collect . Lists . newArrayList ( new ca . IDENT_6 . IDENT_7 . IDENT_8 . model . user . User ( 1L , STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 , STRING_0 1 ) , new ca . IDENT_6 . IDENT_7 . IDENT_8 . model . user . User ( INT_0 , STRING_6 , STRING_0 2 , STRING_7 , STRING_0 , STRING_8 , STRING_9 ) ) ) ; when ( IDENT_10 . METHOD_2 ( any ( org . springframework . data . jpa . domain . IDENT_11 . class ) , any ( org . springframework . data . domain . IDENT_12 . class ) ) ) . thenReturn ( IDENT_9 ) ; org . springframework . data . domain . IDENT_5 < ca . IDENT_6 . IDENT_7 . IDENT_8 . model . user . User > IDENT_13 = IDENT_14 . search ( ca . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_15 . IDENT_16 . IDENT_17 . METHOD_3 ( IDENT_4 ) , page , size , order , IDENT_3 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_10 ) . METHOD_2 ( any ( org . springframework . data . jpa . domain . IDENT_11 . class ) , any ( org . springframework . data . domain . IDENT_12 . class ) ) ; } METHOD_3 ( java . lang . String ) { return new org . springframework . data . jpa . domain . IDENT_11 < ca . IDENT_6 . IDENT_7 . IDENT_8 . model . user . User > ( ) { @ ca . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_15 . IDENT_16 . Override public javax . persistence . criteria . IDENT_18 METHOD_4 ( javax . persistence . criteria . IDENT_19 < ca . IDENT_6 . IDENT_7 . IDENT_8 . model . user . User > root , javax . persistence . criteria . IDENT_20 < ? > query , javax . persistence . criteria . IDENT_21 cb ) { return cb . METHOD_5 ( cb . METHOD_6 ( root . get ( STRING_10 ) , ( ( STRING_11 + IDENT_4 ) + STRING_11 ) ) , cb . METHOD_6 ( root . get ( STRING_12 ) , ( ( STRING_11 + IDENT_4 ) + STRING_11 ) ) , cb . METHOD_6 ( root . get ( STRING_13 ) , ( ( STRING_11 + IDENT_4 ) + STRING_11 ) ) , cb . METHOD_6 ( root . get ( STRING_14 ) , ( ( STRING_11 + IDENT_4 ) + STRING_11 ) ) ) ; } } ; }
org . junit . Assert . assertEquals ( IDENT_9 , METHOD_3 )