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