METHOD_0 ( ) { java . lang . String IDENT_0 = IDENT_1 ; java . util . List < java . lang . String > IDENT_2 = java . util . Arrays . asList ( org . finra . herd . service . helper . IDENT_3 ) ; org . finra . herd . model . jpa . IDENT_4 IDENT_5 = mock ( org . finra . herd . model . jpa . IDENT_4 . class ) ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_6 . METHOD_2 ( IDENT_7 . IDENT_8 . getKey ( ) ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_9 . METHOD_3 ( IDENT_0 ) ) . thenReturn ( IDENT_2 ) ; try { IDENT_10 . METHOD_4 ( org . finra . herd . service . helper . IDENT_3 ) ; org . junit . Assert . fail ( ) ; } catch ( org . finra . herd . model . IDENT_11 e ) { "<AssertPlaceHolder>" ; } verify ( IDENT_6 ) . METHOD_2 ( IDENT_7 . IDENT_8 . getKey ( ) ) ; verify ( IDENT_9 ) . METHOD_3 ( IDENT_0 ) ; METHOD_5 ( ) ; } METHOD_4 ( java . lang . String ) { boolean IDENT_12 = false ; org . finra . herd . model . jpa . IDENT_4 IDENT_5 = IDENT_6 . METHOD_2 ( IDENT_7 . IDENT_8 . getKey ( ) ) ; if ( ( IDENT_5 != null ) && ( org . apache . commons . lang3 . StringUtils . METHOD_6 ( IDENT_5 . METHOD_1 ( ) ) ) ) { java . util . List < java . lang . String > IDENT_13 = IDENT_9 . METHOD_3 ( IDENT_5 . METHOD_1 ( ) ) ; IDENT_12 = IDENT_13 . contains ( IDENT_14 ) ; } if ( IDENT_12 ) { throw new org . finra . herd . model . METHOD_7 ( STRING_0 ) ; } }
org . junit . Assert . assertEquals ( STRING_0 , e . getMessage ( ) )