METHOD_0 ( ) { IDENT_0 . METHOD_1 ( ) ; org . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 query = org . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_5 . METHOD_2 ( ) ; query . METHOD_3 ( STRING_0 ) ; final java . util . List < org . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_6 > IDENT_7 = IDENT_8 . query ( query ) ; "<AssertPlaceHolder>" . METHOD_4 ( 2 ) ; } query ( org . IDENT_1 . IDENT_2 . dto . IDENT_4 ) { org . IDENT_1 . IDENT_2 . dto . IDENT_9 IDENT_10 = IDENT_11 . METHOD_5 ( ) ; org . hibernate . IDENT_12 criteria = sf . METHOD_6 ( ) . METHOD_7 ( org . IDENT_1 . IDENT_2 . dto . IDENT_6 . class ) ; switch ( query . METHOD_8 ( ) ) { case IDENT_13 : if ( ! ( IDENT_10 . METHOD_9 ( ) . contains ( IDENT_14 . IDENT_13 ) ) ) { throw new org . IDENT_1 . IDENT_2 . exception . METHOD_10 ( ) ; } criteria . METHOD_11 ( STRING_1 , STRING_2 ) ; criteria . add ( org . hibernate . IDENT_15 . IDENT_16 . eq ( STRING_3 , IDENT_10 . getId ( ) ) ) ; break ; case IDENT_17 : if ( ! ( IDENT_10 . METHOD_9 ( ) . contains ( IDENT_14 . IDENT_18 ) ) ) { throw new org . IDENT_1 . IDENT_2 . exception . METHOD_12 ( ) ; } criteria . METHOD_11 ( STRING_4 , STRING_2 ) ; criteria . add ( org . hibernate . IDENT_15 . IDENT_16 . eq ( STRING_3 , IDENT_10 . getId ( ) ) ) ; break ; case IDENT_19 : if ( ! ( IDENT_10 . METHOD_9 ( ) . contains ( IDENT_14 . IDENT_19 ) ) ) { throw new org . IDENT_1 . IDENT_2 . exception . METHOD_13 ( ) ; } break ; default : throw new java . lang . IllegalArgumentException ( STRING_5 ) ; } if ( org . springframework . util . StringUtils . METHOD_14 ( query . METHOD_15 ( ) ) ) { criteria . add ( org . hibernate . IDENT_15 . IDENT_16 . METHOD_16 ( STRING_6 , query . METHOD_15 ( ) , IDENT_20 . IDENT_21 ) ) ; } criteria . METHOD_17 ( IDENT_12 . IDENT_22 ) ; criteria . METHOD_18 ( org . hibernate . IDENT_15 . IDENT_23 . METHOD_19 ( STRING_6 ) ) ; java . util . List < org . IDENT_1 . IDENT_2 . dto . IDENT_6 > IDENT_7 = criteria . list ( ) ; if ( METHOD_20 ( query ) ) { } return IDENT_7 ; }
org . junit . Assert . assertThat ( IDENT_7 )