METHOD_0 ( ) { org . finra . herd . model . jpa . IDENT_0 IDENT_1 = IDENT_2 . METHOD_1 ( new org . finra . herd . model . api . xml . METHOD_2 ( IDENT_3 , IDENT_4 ) , org . finra . herd . dao . IDENT_5 , org . finra . herd . dao . IDENT_6 , org . finra . herd . dao . IDENT_7 , org . finra . herd . dao . IDENT_8 , org . finra . herd . dao . IDENT_9 , org . finra . herd . dao . IDENT_10 , org . finra . herd . dao . IDENT_11 , org . finra . herd . dao . IDENT_12 , org . finra . herd . dao . IDENT_13 , IDENT_2 . METHOD_3 ( ) , IDENT_14 . IDENT_15 ) ; org . finra . herd . model . api . xml . IDENT_16 IDENT_17 = new org . finra . herd . model . api . xml . METHOD_4 ( IDENT_6 , IDENT_7 , IDENT_8 , IDENT_9 , IDENT_10 , IDENT_18 , IDENT_19 , IDENT_20 ) ; java . util . List < org . finra . herd . model . jpa . IDENT_0 > result = IDENT_21 . METHOD_5 ( org . finra . herd . dao . IDENT_5 , IDENT_17 , org . finra . herd . dao . IDENT_11 , org . finra . herd . dao . IDENT_12 , org . finra . herd . dao . IDENT_13 , IDENT_14 . IDENT_15 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String , org . finra . herd . model . api . xml . METHOD_4 , java . lang . String , java . lang . String , java . lang . String , java . lang . String ) { javax . persistence . criteria . IDENT_22 builder = IDENT_23 . METHOD_6 ( ) ; javax . persistence . criteria . IDENT_24 < org . finra . herd . model . jpa . IDENT_0 > criteria = builder . METHOD_7 ( org . finra . herd . model . jpa . IDENT_0 . class ) ; javax . persistence . criteria . IDENT_25 < org . finra . herd . model . jpa . IDENT_0 > IDENT_26 = criteria . from ( org . finra . herd . model . jpa . IDENT_0 . class ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_0 , org . finra . herd . model . jpa . IDENT_28 > IDENT_29 = IDENT_26 . join ( IDENT_30 . IDENT_31 ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_0 , org . finra . herd . model . jpa . IDENT_32 > IDENT_33 = IDENT_26 . join ( IDENT_30 . IDENT_34 ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_0 , org . finra . herd . model . jpa . IDENT_35 > IDENT_36 = IDENT_26 . join ( IDENT_30 . IDENT_37 ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_35 , org . finra . herd . model . jpa . IDENT_28 > IDENT_38 = IDENT_36 . join ( IDENT_39 . IDENT_31 ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_0 , org . finra . herd . model . jpa . IDENT_40 > IDENT_41 = IDENT_26 . join ( IDENT_30 . storage ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_0 , org . finra . herd . model . jpa . IDENT_42 > IDENT_43 = IDENT_26 . join ( IDENT_30 . IDENT_44 , IDENT_45 . IDENT_46 ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_0 , org . finra . herd . model . jpa . IDENT_47 > IDENT_48 = IDENT_26 . join ( IDENT_30 . IDENT_49 , IDENT_45 . IDENT_46 ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_0 , org . finra . herd . model . jpa . IDENT_47 > IDENT_50 = IDENT_26 . join ( IDENT_30 . IDENT_51 , IDENT_45 . IDENT_46 ) ; javax . persistence . criteria . IDENT_27 < org . finra . herd . model . jpa . IDENT_0 , org . finra . herd . model . jpa . IDENT_14 > IDENT_52 = IDENT_26 . join ( IDENT_30 . IDENT_53 ) ; java . util . List < javax . persistence . criteria . IDENT_54 > IDENT_55 = new java . util . ArrayList ( ) ; IDENT_55 . add ( builder . equal ( builder . METHOD_8 ( IDENT_33 . get ( IDENT_56 . code ) ) , IDENT_57 . METHOD_9 ( ) ) ) ; IDENT_55 . add ( builder . equal ( builder . METHOD_8 ( IDENT_38 . get ( IDENT_58 . code ) ) , IDENT_17 . METHOD_10 ( ) . METHOD_9 ( ) ) ) ; IDENT_55 . add ( builder . equal ( builder . METHOD_8 ( IDENT_36 . get ( IDENT_39 . name ) ) , IDENT_17 . METHOD_11 ( ) . METHOD_9 ( ) ) ) ; IDENT_55 . add ( builder . equal ( builder . METHOD_8 ( IDENT_41 . get ( IDENT_59 . name ) ) , IDENT_60 . METHOD_9 ( ) ) ) ; IDENT_55 . add ( builder . METHOD_12 ( builder . METHOD_13 ( IDENT_26 . get ( IDENT_30 . IDENT_61 ) ) , builder . equal ( builder . METHOD_8 ( IDENT_26 . get ( IDENT_30 . IDENT_61 ) ) , IDENT_17 . METHOD_14 ( ) . METHOD_9 ( ) ) ) ) ; IDENT_55 . add ( builder . METHOD_12 ( builder . METHOD_13 ( IDENT_26 . get ( IDENT_30 . IDENT_44 ) ) , builder . equal ( builder . METHOD_8 ( IDENT_43 . get ( IDENT_62 . code ) ) , IDENT_17 . METHOD_15 ( ) . METHOD_9 ( ) ) ) ) ; IDENT_55 . add ( builder . METHOD_12 ( builder . METHOD_13 ( IDENT_26 . get ( IDENT_30 . IDENT_63 ) ) , builder . equal ( IDENT_26 . get ( IDENT_30 . IDENT_63 ) , IDENT_17 . METHOD_16 ( ) ) ) ) ; IDENT_55 . add ( builder . METHOD_12 ( builder . METHOD_13 ( IDENT_26 . get ( IDENT_30 . IDENT_49 ) ) , builder . equal ( builder . METHOD_8 ( IDENT_48 . get ( IDENT_64 . code ) ) , IDENT_49 . METHOD_9 ( ) ) ) ) ; IDENT_55 . add ( builder . METHOD_12 ( builder . METHOD_13 ( IDENT_26 . get ( IDENT_30 . IDENT_51 ) ) , builder . equal ( builder . METHOD_8 ( IDENT_50 . get ( IDENT_64 . code ) ) , ( IDENT_51 == null ? null : IDENT_51 . METHOD_9 ( ) ) ) ) ) ; IDENT_55 . add ( builder . equal ( builder . METHOD_8 ( IDENT_52 . get ( IDENT_65 . code ) ) , IDENT_53 . METHOD_9 ( ) ) ) ; java . util . List < javax . persistence . criteria . IDENT_66 > IDENT_67 = new java . util . ArrayList ( ) ; IDENT_67 . add ( builder . METHOD_17 ( IDENT_29 . get ( IDENT_58 . code ) ) ) ; IDENT_67 . add ( builder . METHOD_17 ( IDENT_26 . get ( IDENT_30 . name ) ) ) ; criteria . select ( IDENT_26 ) . METHOD_18 ( builder . and ( IDENT_55 . toArray ( new javax . persistence . criteria . IDENT_54 [ IDENT_55 . size ( ) ] ) ) ) . METHOD_19 ( METHOD_19 ) ; return IDENT_23 . METHOD_7 ( criteria ) . METHOD_20 ( ) ; }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( IDENT_1 ) , result )