METHOD_0 ( ) { org . finra . herd . model . api . xml . IDENT_0 IDENT_1 = new org . finra . herd . model . api . xml . METHOD_1 ( IDENT_2 , IDENT_3 ) ; org . finra . herd . model . jpa . IDENT_4 IDENT_5 = IDENT_6 . METHOD_2 ( org . finra . herd . service . helper . IDENT_2 , org . finra . herd . service . helper . IDENT_3 ) ; when ( IDENT_7 . METHOD_3 ( IDENT_1 ) ) . thenReturn ( IDENT_5 ) ; org . finra . herd . model . jpa . IDENT_4 response = IDENT_8 . METHOD_4 ( IDENT_1 ) ; verify ( IDENT_7 ) . METHOD_3 ( IDENT_1 ) ; METHOD_5 ( IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . finra . herd . model . api . xml . METHOD_1 ) { javax . persistence . criteria . IDENT_9 builder = IDENT_10 . METHOD_6 ( ) ; javax . persistence . criteria . IDENT_11 < org . finra . herd . model . jpa . IDENT_4 > criteria = builder . METHOD_7 ( org . finra . herd . model . jpa . IDENT_4 . class ) ; javax . persistence . criteria . IDENT_12 < org . finra . herd . model . jpa . IDENT_4 > IDENT_13 = criteria . from ( org . finra . herd . model . jpa . IDENT_4 . class ) ; javax . persistence . criteria . IDENT_14 < org . finra . herd . model . jpa . IDENT_4 , org . finra . herd . model . jpa . IDENT_15 > IDENT_16 = IDENT_13 . join ( IDENT_17 . IDENT_18 ) ; java . util . List < javax . persistence . criteria . IDENT_19 > IDENT_20 = new java . util . ArrayList ( ) ; IDENT_20 . add ( builder . equal ( builder . METHOD_8 ( IDENT_16 . get ( IDENT_21 . IDENT_18 ) ) , IDENT_1 . METHOD_9 ( ) . METHOD_10 ( ) ) ) ; IDENT_20 . add ( builder . equal ( builder . METHOD_8 ( IDENT_13 . get ( IDENT_17 . IDENT_22 ) ) , IDENT_1 . METHOD_11 ( ) . METHOD_10 ( ) ) ) ; criteria . select ( IDENT_13 ) . METHOD_12 ( builder . and ( IDENT_20 . toArray ( new javax . persistence . criteria . IDENT_19 [ IDENT_20 . size ( ) ] ) ) ) ; return METHOD_13 ( criteria , java . lang . String . format ( STRING_0 , IDENT_1 . METHOD_9 ( ) , IDENT_1 . METHOD_11 ( ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , response )