METHOD_0 ( ) { IDENT_0 = mock ( gov . hhs . fha . nhinc . logging . transaction . dao . IDENT_1 . class ) ; gov . hhs . fha . nhinc . logging . transaction . impl . IDENT_2 store = METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( gov . hhs . fha . nhinc . logging . transaction . model . IDENT_3 ) { gov . hhs . fha . nhinc . logging . transaction . dao . IDENT_1 . LOG . debug ( STRING_0 ) ; org . hibernate . IDENT_4 session = null ; org . hibernate . IDENT_5 tx = null ; boolean result = true ; if ( IDENT_6 != null ) { try { final org . hibernate . IDENT_7 IDENT_8 = gov . hhs . fha . nhinc . logging . transaction . dao . IDENT_1 . METHOD_3 ( ) ; if ( IDENT_8 != null ) { session = IDENT_8 . METHOD_4 ( ) ; } if ( session == null ) { gov . hhs . fha . nhinc . logging . transaction . dao . IDENT_1 . LOG . error ( STRING_1 ) ; return false ; } tx = session . METHOD_5 ( ) ; gov . hhs . fha . nhinc . logging . transaction . dao . IDENT_1 . LOG . info ( STRING_2 ) ; session . METHOD_6 ( IDENT_6 ) ; gov . hhs . fha . nhinc . logging . transaction . dao . IDENT_1 . LOG . info ( STRING_3 ) ; tx . commit ( ) ; } catch ( final org . hibernate . IDENT_9 e ) { result = false ; METHOD_7 ( tx ) ; gov . hhs . fha . nhinc . logging . transaction . dao . IDENT_1 . LOG . error ( ( STRING_4 + ( e . getMessage ( ) ) ) , e ) ; } finally { METHOD_8 ( session ) ; } } gov . hhs . fha . nhinc . logging . transaction . dao . IDENT_1 . LOG . debug ( STRING_5 ) ; return result ; }
org . junit . Assert . assertEquals ( false , store . METHOD_2 ( null ) )