METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . domain . repository . IDENT_2 . IDENT_3 criteria = new org . IDENT_0 . IDENT_1 . domain . repository . IDENT_2 . METHOD_1 ( ) ; org . springframework . data . domain . IDENT_4 IDENT_5 = org . springframework . data . domain . IDENT_6 . of ( 0 , 10 ) ; java . util . List < org . IDENT_0 . IDENT_1 . domain . model . IDENT_7 > IDENT_8 = new java . util . ArrayList < org . IDENT_0 . IDENT_1 . domain . model . IDENT_7 > ( ) ; org . IDENT_0 . IDENT_1 . domain . model . IDENT_7 info = new org . IDENT_0 . IDENT_1 . domain . model . METHOD_2 ( ) ; org . IDENT_0 . IDENT_1 . domain . model . IDENT_9 a = new org . IDENT_0 . IDENT_1 . domain . model . METHOD_3 ( ) ; a . METHOD_4 ( STRING_0 ) ; info . METHOD_5 ( a ) ; org . IDENT_0 . IDENT_1 . domain . model . IDENT_10 IDENT_11 = new org . IDENT_0 . IDENT_1 . domain . model . METHOD_6 ( ) ; IDENT_11 . METHOD_7 ( STRING_1 ) ; info . METHOD_8 ( IDENT_11 ) ; info . METHOD_9 ( STRING_2 ) ; IDENT_8 . add ( info ) ; org . springframework . data . domain . IDENT_12 < org . IDENT_0 . IDENT_1 . domain . model . METHOD_2 > page = new org . springframework . data . domain . IDENT_13 < org . IDENT_0 . IDENT_1 . domain . model . METHOD_2 > ( IDENT_8 ) ; when ( IDENT_14 . METHOD_10 ( criteria , IDENT_5 ) ) . thenReturn ( page ) ; org . springframework . data . domain . IDENT_12 < org . IDENT_0 . IDENT_1 . domain . model . METHOD_2 > result = IDENT_15 . METHOD_11 ( criteria , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( org . IDENT_0 . IDENT_1 . domain . repository . IDENT_2 . METHOD_1 , org . springframework . data . domain . IDENT_4 ) { return IDENT_14 . METHOD_10 ( criteria , IDENT_5 ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( page ) )