METHOD_0 ( ) { org . finra . herd . model . jpa . IDENT_0 IDENT_1 = new org . finra . herd . model . jpa . METHOD_1 ( ) ; IDENT_1 . setName ( org . finra . herd . service . impl . IDENT_2 ) ; when ( IDENT_3 . getProperty ( IDENT_4 . IDENT_5 ) ) . thenReturn ( org . finra . herd . service . impl . IDENT_5 ) ; when ( IDENT_6 . METHOD_2 ( org . finra . herd . service . impl . IDENT_5 , IDENT_1 , false , true ) ) . thenReturn ( false ) ; try { IDENT_7 . METHOD_3 ( IDENT_1 ) ; junit . framework . Assert . fail ( ) ; } catch ( java . lang . IllegalStateException e ) { "<AssertPlaceHolder>" ; } verify ( IDENT_3 ) . getProperty ( IDENT_4 . IDENT_5 ) ; verify ( IDENT_6 ) . METHOD_2 ( org . finra . herd . service . impl . IDENT_5 , IDENT_1 , false , true ) ; METHOD_4 ( ) ; } METHOD_3 ( org . finra . herd . model . jpa . METHOD_1 ) { if ( ! ( IDENT_6 . METHOD_2 ( IDENT_3 . getProperty ( IDENT_4 . IDENT_5 ) , IDENT_1 , false , true ) ) ) { throw new java . lang . IllegalStateException ( java . lang . String . format ( STRING_0 , IDENT_1 . getName ( ) ) ) ; } }
org . junit . Assert . assertEquals ( java . lang . String . format ( STRING_0 , org . finra . herd . service . impl . IDENT_2 ) , e . getMessage ( ) )