METHOD_0 ( ) { java . util . Map . Entry < org . apache . lucene . util . IDENT_0 , java . lang . Integer > IDENT_1 = new java . util . IDENT_2 . METHOD_1 ( new org . apache . lucene . util . METHOD_2 ( "test" ) , 1 ) ; java . util . Map . Entry < org . apache . lucene . util . METHOD_2 , java . lang . Integer > IDENT_3 = new java . util . IDENT_2 . METHOD_1 ( new org . apache . lucene . util . METHOD_2 ( STRING_0 ) , 2 ) ; map . METHOD_3 ( IDENT_1 . getKey ( ) , IDENT_1 . getValue ( ) ) ; map . METHOD_3 ( IDENT_3 . getKey ( ) , IDENT_3 . getValue ( ) ) ; java . util . List < java . util . Map . Entry < org . apache . lucene . util . METHOD_2 , java . lang . Integer > > data = map . METHOD_4 ( 0 , 10 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( int , int ) { if ( page < 0 ) { throw new java . lang . IllegalArgumentException ( ( STRING_1 + page ) ) ; } if ( IDENT_4 < 0 ) { throw new java . lang . IllegalArgumentException ( ( STRING_2 + IDENT_4 ) ) ; } java . util . List < java . util . Map . Entry < org . apache . lucene . util . METHOD_2 , java . lang . Integer > > list = new java . util . ArrayList ( map . entrySet ( ) ) ; list . METHOD_5 ( java . util . Map . Entry . < org . apache . lucene . util . METHOD_2 , java . lang . Integer > METHOD_6 ( ) . METHOD_7 ( ) ) ; int IDENT_5 = page * IDENT_4 ; if ( IDENT_5 >= ( list . size ( ) ) ) { return java . util . Collections . emptyList ( ) ; } int IDENT_6 = IDENT_5 + IDENT_4 ; if ( IDENT_6 > ( list . size ( ) ) ) { IDENT_6 = list . size ( ) ; } return list . METHOD_8 ( IDENT_5 , IDENT_6 ) ; }
org . junit . Assert . assertThat ( data , contains ( IDENT_3 , IDENT_1 ) )