METHOD_0 ( ) { engine . add ( new com . IDENT_0 . IDENT_1 . data . METHOD_1 ( "a" ) ) ; engine . add ( new com . IDENT_0 . IDENT_1 . data . METHOD_1 ( "a" ) ) ; engine . add ( new com . IDENT_0 . IDENT_1 . data . METHOD_1 ( "a" ) ) ; "<AssertPlaceHolder>" ; } search ( java . lang . String , int ) { com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( ( IDENT_3 >= 0 ) ) ; java . util . List < T > result = search ( query ) ; if ( ( result . size ( ) ) > IDENT_3 ) { return result . METHOD_3 ( 0 , IDENT_3 ) ; } return result ; }
org . junit . Assert . assertEquals ( 2 , engine . search ( "a" , 2 ) . size ( ) )