METHOD_0 ( ) { javax . persistence . IDENT_0 IDENT_1 = mock ( javax . persistence . IDENT_0 . class ) ; METHOD_1 ( new java . lang . RuntimeException ( ) ) . when ( IDENT_1 ) . find ( ( ( java . lang . Class < ? > ) ( any ( ) ) ) , any ( ) ) ; final org . nhindirect . monitor . dao . impl . IDENT_2 dao = new org . nhindirect . monitor . dao . impl . METHOD_2 ( ) ; dao . METHOD_3 ( IDENT_1 ) ; boolean IDENT_3 = false ; try { dao . METHOD_4 ( STRING_0 , true ) ; } catch ( org . nhindirect . monitor . dao . IDENT_4 e ) { IDENT_3 = true ; } "<AssertPlaceHolder>" ; }
org . junit . Assert . assertTrue ( IDENT_3 )