METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . lnu . is . IDENT_1 . Query < org . lnu . is . domain . IDENT_2 . IDENT_3 > query = new org . lnu . is . IDENT_1 . Query < org . lnu . is . domain . IDENT_2 . IDENT_3 > ( org . lnu . is . domain . IDENT_2 . IDENT_3 . class , IDENT_0 ) ; java . lang . Integer offset = 0 ; java . lang . Integer IDENT_4 = 20 ; java . util . Map < java . lang . String , java . lang . Object > parameters = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; parameters . put ( STRING_1 , new java . lang . Object ( ) ) ; parameters . put ( STRING_2 , new java . lang . Object ( ) ) ; java . lang . Class < org . lnu . is . domain . IDENT_2 . IDENT_3 > clazz = org . lnu . is . domain . IDENT_2 . IDENT_3 . class ; org . lnu . is . pagination . IDENT_5 < org . lnu . is . domain . IDENT_2 . IDENT_3 > request = new org . lnu . is . pagination . IDENT_5 < org . lnu . is . domain . IDENT_2 . IDENT_3 > ( query , offset , IDENT_4 , parameters , clazz ) ; long count = INT_0 ; org . lnu . is . domain . IDENT_2 . IDENT_3 IDENT_6 = new org . lnu . is . domain . IDENT_2 . METHOD_1 ( ) ; java . util . List < org . lnu . is . domain . IDENT_2 . METHOD_1 > entities = java . util . Arrays . asList ( IDENT_6 ) ; org . lnu . is . pagination . IDENT_7 < org . lnu . is . domain . IDENT_2 . METHOD_1 > expected = new org . lnu . is . pagination . IDENT_7 < org . lnu . is . domain . IDENT_2 . METHOD_1 > ( request . METHOD_2 ( ) , request . METHOD_3 ( ) , count , entities ) ; when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( entities ) ; when ( IDENT_9 . METHOD_5 ( ) ) . thenReturn ( count ) ; when ( IDENT_10 . METHOD_6 ( STRING_0 , org . lnu . is . domain . IDENT_2 . METHOD_1 . class ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_10 . METHOD_6 ( STRING_3 , org . lnu . is . dao . persistence . Long . class ) ) . thenReturn ( IDENT_9 ) ; org . lnu . is . pagination . IDENT_7 < org . lnu . is . domain . IDENT_2 . METHOD_1 > actual = unit . search ( request ) ; verify ( IDENT_8 , times ( 2 ) ) . METHOD_7 ( anyString ( ) , any ( ) ) ; verify ( IDENT_9 , times ( 2 ) ) . METHOD_7 ( anyString ( ) , any ( ) ) ; verify ( IDENT_8 ) . METHOD_4 ( ) ; verify ( IDENT_9 ) . METHOD_5 ( ) ; verify ( IDENT_8 ) . METHOD_8 ( offset ) ; verify ( IDENT_8 ) . METHOD_9 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } verify ( T ) { METHOD_10 ( resource ) ; if ( ( IDENT_11 ) != null ) { IDENT_11 . verify ( resource ) ; } }
org . junit . Assert . assertEquals ( expected , actual )