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 . api . xml . IDENT_4 request = new org . finra . herd . model . api . xml . METHOD_2 ( IDENT_1 ) ; org . finra . herd . model . jpa . IDENT_5 IDENT_6 = new org . finra . herd . model . jpa . METHOD_3 ( ) ; IDENT_6 . METHOD_4 ( org . finra . herd . service . IDENT_2 ) ; org . finra . herd . model . jpa . IDENT_7 IDENT_8 = new org . finra . herd . model . jpa . METHOD_5 ( ) ; IDENT_8 . setId ( org . finra . herd . service . IDENT_9 ) ; IDENT_8 . METHOD_6 ( IDENT_6 ) ; IDENT_8 . setName ( org . finra . herd . service . IDENT_3 ) ; when ( IDENT_10 . METHOD_7 ( org . finra . herd . service . IDENT_2 ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_11 . METHOD_8 ( IDENT_1 ) ) . thenReturn ( null ) ; when ( IDENT_11 . METHOD_9 ( any ( org . finra . herd . model . jpa . METHOD_5 . class ) ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_12 . METHOD_10 ( IDENT_8 ) ) . METHOD_11 ( ) ; org . finra . herd . model . api . xml . IDENT_13 result = IDENT_14 . METHOD_0 ( request ) ; verify ( IDENT_15 ) . METHOD_12 ( request ) ; verify ( IDENT_10 ) . METHOD_7 ( org . finra . herd . service . IDENT_2 ) ; verify ( IDENT_11 ) . METHOD_8 ( IDENT_1 ) ; verify ( IDENT_11 ) . METHOD_9 ( any ( org . finra . herd . model . jpa . METHOD_5 . class ) ) ; verify ( IDENT_12 ) . METHOD_10 ( IDENT_8 ) ; METHOD_13 ( ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( ) { METHOD_14 ( IDENT_16 , IDENT_17 , IDENT_18 , IDENT_19 ) ; }
org . junit . Assert . assertEquals ( new org . finra . herd . model . api . xml . METHOD_15 ( IDENT_9 , IDENT_1 ) , result )