METHOD_0 ( ) { org . finra . herd . model . jpa . IDENT_0 IDENT_1 = IDENT_2 . METHOD_1 ( org . finra . herd . dao . IDENT_3 ) ; for ( java . lang . String IDENT_4 : java . util . Arrays . asList ( org . finra . herd . dao . IDENT_5 . METHOD_2 ( ) , org . finra . herd . dao . IDENT_5 . toLowerCase ( ) ) ) { IDENT_6 . METHOD_3 ( IDENT_1 , IDENT_4 , org . apache . commons . io . IDENT_7 . toString ( IDENT_8 . getResource ( org . finra . herd . dao . IDENT_9 ) . METHOD_4 ( ) , IDENT_10 . UTF_8 ) ) ; } try { IDENT_11 . METHOD_5 ( IDENT_1 , org . finra . herd . dao . IDENT_5 ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . IllegalArgumentException e ) { "<AssertPlaceHolder>" ; } } METHOD_5 ( org . finra . herd . model . jpa . IDENT_0 , java . lang . String ) { javax . persistence . criteria . IDENT_12 builder = IDENT_13 . METHOD_6 ( ) ; javax . persistence . criteria . IDENT_14 < org . finra . herd . model . jpa . IDENT_15 > criteria = builder . METHOD_7 ( org . finra . herd . model . jpa . IDENT_15 . class ) ; javax . persistence . criteria . IDENT_16 < org . finra . herd . model . jpa . IDENT_15 > IDENT_17 = criteria . from ( org . finra . herd . model . jpa . IDENT_15 . class ) ; java . util . List < javax . persistence . criteria . IDENT_18 > IDENT_19 = new java . util . ArrayList ( ) ; IDENT_19 . add ( builder . equal ( IDENT_17 . get ( IDENT_20 . IDENT_21 ) , IDENT_1 ) ) ; IDENT_19 . add ( builder . equal ( builder . METHOD_8 ( IDENT_17 . get ( IDENT_20 . name ) ) , IDENT_4 . METHOD_2 ( ) ) ) ; criteria . select ( IDENT_17 ) . METHOD_9 ( builder . and ( IDENT_19 . toArray ( new javax . persistence . criteria . IDENT_18 [ IDENT_19 . size ( ) ] ) ) ) ; return METHOD_10 ( criteria , java . lang . String . format ( STRING_0 , IDENT_1 . getCode ( ) , IDENT_4 ) ) ; }
org . junit . Assert . assertEquals ( java . lang . String . format ( STRING_0 , org . finra . herd . dao . IDENT_3 , org . finra . herd . dao . IDENT_5 ) , e . getMessage ( ) )