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 IDENT_5 = new org . finra . herd . model . api . xml . METHOD_2 ( IDENT_1 ) ; org . finra . herd . model . jpa . IDENT_6 IDENT_7 = new org . finra . herd . model . jpa . METHOD_3 ( ) ; IDENT_7 . METHOD_4 ( org . finra . herd . service . impl . IDENT_2 ) ; org . finra . herd . model . jpa . IDENT_8 IDENT_9 = new org . finra . herd . model . jpa . METHOD_5 ( ) ; IDENT_9 . METHOD_4 ( org . finra . herd . service . impl . IDENT_3 ) ; when ( IDENT_10 . METHOD_6 ( IDENT_1 ) ) . thenReturn ( null ) ; when ( IDENT_11 . METHOD_7 ( org . finra . herd . service . impl . IDENT_2 ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_12 . METHOD_8 ( org . finra . herd . service . impl . IDENT_3 ) ) . thenReturn ( IDENT_9 ) ; METHOD_9 ( new org . mockito . IDENT_13 . IDENT_14 < java . lang . IDENT_15 > ( ) { public org . finra . herd . service . impl . IDENT_15 METHOD_10 ( org . mockito . IDENT_16 . IDENT_17 IDENT_16 ) { org . finra . herd . model . jpa . IDENT_18 IDENT_19 = ( ( org . finra . herd . model . jpa . IDENT_18 ) ( IDENT_16 . METHOD_11 ( ) [ 0 ] ) ) ; IDENT_19 . setId ( org . finra . herd . service . IDENT_20 . IDENT_21 ) ; return null ; } } ) . when ( IDENT_10 ) . METHOD_12 ( any ( org . finra . herd . model . jpa . IDENT_18 . class ) ) ; org . finra . herd . model . api . xml . IDENT_22 result = IDENT_23 . METHOD_13 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_24 ) . METHOD_14 ( IDENT_5 ) ; verify ( IDENT_10 ) . METHOD_6 ( IDENT_1 ) ; verify ( IDENT_11 ) . METHOD_7 ( org . finra . herd . service . impl . IDENT_2 ) ; verify ( IDENT_12 ) . METHOD_8 ( org . finra . herd . service . impl . IDENT_3 ) ; verify ( IDENT_10 ) . METHOD_12 ( any ( org . finra . herd . model . jpa . IDENT_18 . class ) ) ; METHOD_15 ( ) ; } getId ( ) { return id ; }
org . junit . Assert . assertEquals ( new org . finra . herd . model . api . xml . METHOD_16 ( result . getId ( ) , IDENT_1 ) , result )