METHOD_0 ( ) { org . finra . herd . model . api . xml . IDENT_0 IDENT_1 = new org . finra . herd . model . api . xml . METHOD_1 ( org . finra . herd . dao . IDENT_2 . IDENT_3 ) ; org . finra . herd . model . api . xml . IDENT_4 IDENT_5 = new org . finra . herd . model . api . xml . METHOD_2 ( org . finra . herd . dao . IDENT_2 . IDENT_6 , org . finra . herd . dao . IDENT_2 . IDENT_7 , org . finra . herd . dao . IDENT_2 . IDENT_8 , org . finra . herd . dao . IDENT_2 . IDENT_9 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_12 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_12 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_13 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_13 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_14 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_14 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_15 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_16 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_17 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_18 ) ; when ( IDENT_19 . METHOD_3 ( org . finra . herd . dao . IDENT_2 . IDENT_16 , org . finra . herd . dao . IDENT_2 . IDENT_18 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_20 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_21 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_21 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_22 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_22 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_23 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_23 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_24 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_24 ) ; when ( IDENT_10 . getProperty ( IDENT_11 . IDENT_25 ) ) . thenReturn ( org . finra . herd . dao . IDENT_2 . IDENT_25 ) ; when ( IDENT_26 . search ( any ( org . springframework . ldap . core . IDENT_27 . class ) , any ( org . springframework . ldap . query . IDENT_28 . class ) , any ( IDENT_29 . IDENT_30 . class ) ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_5 ) ) ; org . finra . herd . model . api . xml . METHOD_2 result = IDENT_31 . METHOD_4 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_12 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_13 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_14 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_15 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_17 ) ; verify ( IDENT_19 ) . METHOD_3 ( org . finra . herd . dao . IDENT_2 . IDENT_16 , org . finra . herd . dao . IDENT_2 . IDENT_18 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_21 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_22 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_23 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_24 ) ; verify ( IDENT_10 ) . getProperty ( IDENT_11 . IDENT_25 ) ; verify ( IDENT_26 ) . search ( any ( org . springframework . ldap . core . IDENT_27 . class ) , any ( org . springframework . ldap . query . IDENT_28 . class ) , any ( IDENT_29 . IDENT_30 . class ) ) ; METHOD_5 ( ) ; } METHOD_4 ( org . finra . herd . model . api . xml . METHOD_1 ) { final java . lang . String IDENT_32 = IDENT_10 . getProperty ( IDENT_11 . IDENT_12 ) ; final java . lang . String IDENT_33 = IDENT_10 . getProperty ( IDENT_11 . IDENT_13 ) ; final java . lang . String IDENT_34 = IDENT_10 . getProperty ( IDENT_11 . IDENT_14 ) ; final java . lang . String IDENT_35 = IDENT_10 . getProperty ( IDENT_11 . IDENT_15 ) ; final java . lang . String IDENT_36 = IDENT_10 . getProperty ( IDENT_11 . IDENT_17 ) ; org . finra . herd . dao . impl . IDENT_29 . LOGGER . info ( STRING_0 , IDENT_11 . IDENT_12 . getKey ( ) , IDENT_32 , IDENT_11 . IDENT_13 . getKey ( ) , IDENT_33 , IDENT_11 . IDENT_14 . getKey ( ) , IDENT_34 , IDENT_11 . IDENT_15 . getKey ( ) , IDENT_35 , IDENT_11 . IDENT_17 . getKey ( ) , IDENT_36 ) ; java . lang . String IDENT_37 ; try { IDENT_37 = IDENT_19 . METHOD_3 ( IDENT_35 , IDENT_36 ) ; } catch ( org . finra . herd . dao . exception . IDENT_38 e ) { throw new java . lang . IllegalStateException ( e ) ; } org . springframework . ldap . core . support . IDENT_39 IDENT_40 = new org . springframework . ldap . core . support . METHOD_6 ( ) ; IDENT_40 . METHOD_7 ( IDENT_32 ) ; IDENT_40 . METHOD_8 ( IDENT_33 ) ; IDENT_40 . METHOD_9 ( IDENT_34 ) ; IDENT_40 . METHOD_10 ( IDENT_37 ) ; IDENT_40 . METHOD_11 ( ) ; org . springframework . ldap . core . IDENT_27 IDENT_41 = new org . springframework . ldap . core . METHOD_12 ( IDENT_40 ) ; org . springframework . ldap . query . IDENT_28 IDENT_42 = query ( ) . METHOD_13 ( IDENT_10 . getProperty ( IDENT_11 . IDENT_21 ) ) . is ( IDENT_1 . METHOD_14 ( ) ) ; org . finra . herd . dao . impl . IDENT_29 . IDENT_30 IDENT_43 = new org . finra . herd . dao . impl . IDENT_29 . METHOD_15 ( IDENT_10 . getProperty ( IDENT_11 . IDENT_22 ) , IDENT_10 . getProperty ( IDENT_11 . IDENT_23 ) , IDENT_10 . getProperty ( IDENT_11 . IDENT_24 ) , IDENT_10 . getProperty ( IDENT_11 . IDENT_25 ) ) ; java . util . List < org . finra . herd . model . api . xml . METHOD_2 > IDENT_44 = IDENT_26 . search ( IDENT_41 , IDENT_42 , IDENT_43 ) ; return org . apache . commons . IDENT_45 . IDENT_46 . METHOD_16 ( IDENT_44 ) ? IDENT_44 . get ( 0 ) : null ; }
org . junit . Assert . assertEquals ( IDENT_5 , result )