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 ( ) ; when ( IDENT_4 . METHOD_3 ( org . finra . herd . service . helper . IDENT_5 ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_6 . METHOD_4 ( IDENT_1 , IDENT_3 ) ) . thenReturn ( null ) ; when ( IDENT_7 . METHOD_5 ( IDENT_1 ) ) . thenReturn ( org . finra . herd . service . IDENT_8 . IDENT_9 ) ; try { IDENT_10 . METHOD_6 ( org . finra . herd . service . helper . IDENT_5 , IDENT_1 ) ; org . junit . Assert . fail ( ) ; } catch ( org . finra . herd . model . IDENT_11 e ) { "<AssertPlaceHolder>" ; } verify ( IDENT_4 ) . METHOD_3 ( org . finra . herd . service . helper . IDENT_5 ) ; verify ( IDENT_6 ) . METHOD_4 ( IDENT_1 , IDENT_3 ) ; verify ( IDENT_7 ) . METHOD_5 ( IDENT_1 ) ; METHOD_7 ( ) ; } METHOD_6 ( java . lang . String , org . finra . herd . model . jpa . METHOD_1 ) { org . finra . herd . model . jpa . IDENT_12 IDENT_13 = null ; org . finra . herd . model . jpa . METHOD_2 IDENT_3 = IDENT_4 . METHOD_3 ( IDENT_14 ) ; if ( IDENT_3 != null ) { IDENT_13 = IDENT_6 . METHOD_4 ( IDENT_1 , IDENT_3 ) ; } if ( IDENT_13 == null ) { throw new org . finra . herd . model . METHOD_8 ( java . lang . String . format ( STRING_0 , IDENT_14 , IDENT_7 . METHOD_5 ( IDENT_1 ) ) ) ; } return IDENT_13 ; }
org . junit . Assert . assertEquals ( java . lang . String . format ( STRING_0 , org . finra . herd . service . helper . IDENT_5 , org . finra . herd . service . IDENT_8 . IDENT_9 ) , e . getMessage ( ) )