METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . IDENT_1 . fhir . instance . model . api . IDENT_2 IDENT_3 ; { ca . uhn . fhir . jpa . dao . IDENT_4 . IDENT_5 org = new ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_1 ( ) ; org . METHOD_2 ( ) . setValue ( ( IDENT_0 + STRING_1 ) ) ; IDENT_3 = IDENT_6 . create ( org , IDENT_7 ) . getId ( ) . METHOD_3 ( ) ; } org . IDENT_1 . fhir . instance . model . api . IDENT_2 IDENT_8 ; { ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_1 org = new ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_1 ( ) ; org . METHOD_2 ( ) . setValue ( ( IDENT_0 + STRING_1 ) ) ; org . METHOD_4 ( new ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_5 ( IDENT_3 ) ) ; IDENT_8 = IDENT_6 . create ( org , IDENT_7 ) . getId ( ) . METHOD_3 ( ) ; } org . IDENT_1 . fhir . instance . model . api . IDENT_2 IDENT_9 ; { ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_1 org = new ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_1 ( ) ; org . METHOD_2 ( ) . setValue ( ( IDENT_0 + STRING_2 ) ) ; org . METHOD_4 ( new ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_5 ( IDENT_8 ) ) ; IDENT_9 = IDENT_6 . create ( org , IDENT_7 ) . getId ( ) . METHOD_3 ( ) ; } org . IDENT_1 . fhir . instance . model . api . IDENT_2 IDENT_10 ; { ca . uhn . fhir . jpa . dao . IDENT_4 . IDENT_11 IDENT_12 = new ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_6 ( ) ; IDENT_12 . METHOD_7 ( ) . METHOD_8 ( STRING_3 ) . setValue ( STRING_4 ) ; IDENT_12 . METHOD_9 ( ) . METHOD_10 ( ( ( STRING_5 + IDENT_0 ) + STRING_6 ) ) . METHOD_11 ( STRING_7 ) ; IDENT_12 . METHOD_12 ( ) . METHOD_13 ( IDENT_9 ) ; IDENT_10 = IDENT_13 . create ( IDENT_12 , IDENT_7 ) . getId ( ) . METHOD_3 ( ) ; } { ca . uhn . fhir . jpa . IDENT_14 . IDENT_15 params = new ca . uhn . fhir . jpa . IDENT_14 . METHOD_14 ( ) ; params . add ( METHOD_6 . IDENT_16 , new ca . uhn . fhir . jpa . dao . IDENT_4 . METHOD_15 ( ( ( STRING_5 + IDENT_0 ) + STRING_6 ) ) ) ; params . METHOD_16 ( new ca . uhn . fhir . model . api . METHOD_17 ( STRING_8 ) . METHOD_18 ( ) ) ; ca . uhn . fhir . jpa . dao . IDENT_4 . List < org . IDENT_1 . fhir . instance . model . api . IDENT_2 > resources = METHOD_19 ( IDENT_13 . search ( params ) ) ; "<AssertPlaceHolder>" ; } } search ( ca . uhn . fhir . rest . param . METHOD_15 ) { final ca . uhn . fhir . jaxrs . server . example . List < ca . uhn . fhir . jaxrs . server . example . METHOD_6 > result = new ca . uhn . fhir . jaxrs . server . example . IDENT_17 < ca . uhn . fhir . jaxrs . server . example . METHOD_6 > ( ) ; for ( final ca . uhn . fhir . jaxrs . server . example . List < ca . uhn . fhir . jaxrs . server . example . METHOD_6 > IDENT_18 : ca . uhn . fhir . jaxrs . server . example . IDENT_19 . IDENT_20 . values ( ) ) { ca . uhn . fhir . jaxrs . server . example . METHOD_6 IDENT_21 = null ; for ( ca . uhn . fhir . jaxrs . server . example . METHOD_6 IDENT_12 : IDENT_18 ) { if ( ( name == null ) || ( IDENT_12 . getName ( ) . get ( 0 ) . METHOD_20 ( ) . METHOD_21 ( ) . equals ( name . METHOD_21 ( ) ) ) ) { IDENT_21 = IDENT_12 ; } } if ( IDENT_21 != null ) { result . add ( IDENT_21 ) ; } } return result ; }
org . junit . Assert . assertThat ( resources , contains ( IDENT_10 , IDENT_9 , IDENT_8 , IDENT_3 ) )