METHOD_0 ( ) { java . util . List < gov . hhs . fha . nhinc . IDENT_0 . hibernate . IDENT_1 > IDENT_2 = new java . util . ArrayList ( ) ; java . util . Date now = new java . util . Date ( ) ; gov . hhs . fha . nhinc . IDENT_0 . hibernate . IDENT_1 record = new gov . hhs . fha . nhinc . IDENT_0 . hibernate . METHOD_1 ( ) ; record . METHOD_2 ( STRING_0 ) ; record . METHOD_3 ( now ) ; record . METHOD_4 ( STRING_1 ) ; IDENT_2 . add ( record ) ; boolean expResult = true ; boolean result = IDENT_3 . METHOD_5 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . util . List ) { org . hibernate . IDENT_4 session = null ; boolean result = true ; if ( ( IDENT_5 != null ) && ( ! ( IDENT_5 . isEmpty ( ) ) ) ) { final int size = IDENT_5 . size ( ) ; gov . hhs . fha . nhinc . IDENT_0 . hibernate . METHOD_1 IDENT_6 = null ; org . hibernate . IDENT_7 tx = null ; try { session = METHOD_6 ( ) ; tx = session . METHOD_7 ( ) ; gov . hhs . fha . nhinc . IDENT_0 . hibernate . IDENT_8 . LOG . info ( STRING_2 ) ; for ( int i = 0 ; i < size ; i ++ ) { IDENT_6 = IDENT_5 . get ( i ) ; session . METHOD_8 ( IDENT_6 ) ; } tx . commit ( ) ; gov . hhs . fha . nhinc . IDENT_0 . hibernate . IDENT_8 . LOG . info ( STRING_3 ) ; } catch ( final org . hibernate . IDENT_9 e ) { result = false ; if ( tx != null ) { tx . METHOD_9 ( ) ; } gov . hhs . fha . nhinc . IDENT_0 . hibernate . IDENT_8 . LOG . error ( STRING_4 , e . METHOD_10 ( ) , e ) ; } finally { METHOD_11 ( session ) ; } } return result ; }
org . junit . Assert . assertEquals ( expResult , result )