METHOD_0 ( ) { int offset = 0 ; int IDENT_0 = 20 ; long count = 1 ; java . lang . String IDENT_1 = STRING_0 ; java . lang . String name = "name" ; org . lnu . is . resource . address . type . IDENT_2 resource = new org . lnu . is . resource . address . type . METHOD_1 ( ) ; resource . METHOD_2 ( IDENT_1 ) ; resource . setName ( name ) ; java . util . List < org . lnu . is . resource . address . type . METHOD_1 > entities = java . util . Arrays . asList ( resource ) ; org . lnu . is . resource . search . IDENT_3 < org . lnu . is . resource . address . type . METHOD_1 > expected = new org . lnu . is . resource . search . METHOD_3 ( STRING_1 ) ; expected . METHOD_4 ( entities ) ; expected . METHOD_5 ( count ) ; expected . METHOD_6 ( IDENT_0 ) ; expected . METHOD_7 ( offset ) ; org . lnu . is . pagination . IDENT_4 IDENT_5 = new org . lnu . is . pagination . METHOD_8 ( STRING_2 , org . lnu . is . pagination . IDENT_6 . IDENT_7 ) ; org . lnu . is . pagination . METHOD_8 IDENT_8 = new org . lnu . is . pagination . METHOD_8 ( "name" , org . lnu . is . pagination . IDENT_6 . IDENT_9 ) ; java . util . List < org . lnu . is . pagination . METHOD_8 > IDENT_10 = java . util . Arrays . asList ( IDENT_5 , IDENT_8 ) ; org . lnu . is . resource . search . IDENT_11 < org . lnu . is . resource . address . type . METHOD_1 > request = new org . lnu . is . resource . search . IDENT_11 < org . lnu . is . resource . address . type . METHOD_1 > ( ) ; request . METHOD_7 ( offset ) ; request . METHOD_6 ( IDENT_0 ) ; request . METHOD_9 ( IDENT_10 ) ; when ( IDENT_12 . METHOD_10 ( org . mockito . Matchers . < org . lnu . is . resource . search . IDENT_11 < org . lnu . is . resource . address . type . METHOD_1 > > any ( ) ) ) . thenReturn ( expected ) ; java . lang . String response = METHOD_11 ( expected , false ) ; org . lnu . is . resource . search . METHOD_3 < org . lnu . is . resource . address . type . METHOD_1 > actual = unit . METHOD_12 ( request ) ; IDENT_13 . METHOD_13 ( get ( STRING_1 ) ) . METHOD_14 ( status ( ) . METHOD_15 ( ) ) . METHOD_14 ( content ( ) . string ( response ) ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( org . lnu . is . resource . search . IDENT_11 ) { org . lnu . is . web . rest . controller . admin . unit . type . IDENT_14 . LOGGER . info ( STRING_3 , request ) ; return IDENT_12 . METHOD_10 ( request ) ; }
org . junit . Assert . assertEquals ( expected , actual )