METHOD_0 ( ) { boolean IDENT_0 = false ; final javax . persistence . IDENT_1 IDENT_2 = mock ( javax . persistence . IDENT_1 . class ) ; final org . nhindirect . config . store . IDENT_3 domain = mock ( org . nhindirect . config . store . IDENT_3 . class ) ; final org . nhindirect . config . store . dao . IDENT_4 IDENT_5 = mock ( org . nhindirect . config . store . dao . IDENT_4 . class ) ; when ( IDENT_5 . METHOD_1 ( new java . lang . Long ( INT_0 ) ) ) . thenReturn ( domain ) ; final org . nhindirect . config . store . IDENT_6 IDENT_7 = mock ( org . nhindirect . config . store . IDENT_6 . class ) ; final javax . persistence . Query IDENT_8 = mock ( javax . persistence . Query . class ) ; when ( IDENT_8 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; METHOD_3 ( new java . lang . RuntimeException ( STRING_0 ) ) . when ( IDENT_8 ) . METHOD_4 ( ) ; when ( IDENT_2 . METHOD_5 ( STRING_1 ) ) . thenReturn ( IDENT_8 ) ; final org . nhindirect . config . store . dao . impl . IDENT_9 dao = new org . nhindirect . config . store . dao . impl . METHOD_6 ( ) ; dao . METHOD_7 ( IDENT_5 ) ; dao . METHOD_8 ( IDENT_2 ) ; final org . nhindirect . config . store . dao . impl . METHOD_6 IDENT_10 = METHOD_9 ( dao ) ; try { IDENT_10 . METHOD_10 ( INT_0 ) ; } catch ( org . nhindirect . config . store . IDENT_11 e ) { IDENT_0 = true ; } "<AssertPlaceHolder>" ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_1 ( new java . lang . Long ( INT_0 ) ) ; verify ( IDENT_8 , times ( 1 ) ) . METHOD_4 ( ) ; }
org . junit . Assert . assertTrue ( IDENT_0 )