METHOD_0 ( ) { org . finra . herd . model . jpa . IDENT_0 IDENT_1 = new org . finra . herd . model . jpa . METHOD_1 ( ) ; org . finra . herd . model . jpa . IDENT_2 IDENT_3 = new org . finra . herd . model . jpa . METHOD_2 ( ) ; org . finra . herd . model . jpa . IDENT_4 IDENT_5 = new org . finra . herd . model . jpa . METHOD_3 ( ) ; when ( IDENT_6 . METHOD_4 ( org . finra . herd . service . helper . IDENT_7 ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_8 . METHOD_5 ( IDENT_1 , IDENT_5 ) ) . thenReturn ( IDENT_3 ) ; org . finra . herd . model . jpa . METHOD_2 result = IDENT_9 . METHOD_6 ( org . finra . herd . service . helper . IDENT_7 , IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 ) . METHOD_4 ( org . finra . herd . service . helper . IDENT_7 ) ; verify ( IDENT_8 ) . METHOD_5 ( IDENT_1 , IDENT_5 ) ; METHOD_7 ( ) ; } METHOD_6 ( java . lang . String , org . finra . herd . model . jpa . METHOD_1 ) { org . finra . herd . model . jpa . METHOD_2 IDENT_3 = null ; org . finra . herd . model . jpa . METHOD_3 IDENT_5 = IDENT_6 . METHOD_4 ( IDENT_10 ) ; if ( IDENT_5 != null ) { IDENT_3 = IDENT_8 . METHOD_5 ( IDENT_1 , IDENT_5 ) ; } if ( IDENT_3 == null ) { throw new org . finra . herd . model . METHOD_8 ( java . lang . String . format ( STRING_0 , IDENT_10 , IDENT_11 . METHOD_9 ( IDENT_1 ) ) ) ; } return IDENT_3 ; }
org . junit . Assert . assertEquals ( IDENT_3 , result )