METHOD_0 ( ) { nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . model . IDENT_3 IDENT_4 = new nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . model . METHOD_1 ( ) ; IDENT_4 . setId ( 1L ) ; nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . model . Person person = new nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . model . Person ( ) ; person . setId ( 1L ) ; IDENT_4 . METHOD_2 ( ) . add ( person ) ; METHOD_3 ( ) . METHOD_4 ( person ) ; METHOD_3 ( ) . METHOD_4 ( IDENT_4 ) ; METHOD_3 ( ) . METHOD_5 ( ) ; METHOD_3 ( ) . METHOD_6 ( ) ; nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . IDENT_5 < nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . model . METHOD_1 > model = new nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . METHOD_7 ( ( ( nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . model . METHOD_1 ) ( METHOD_3 ( ) . load ( nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . model . METHOD_1 . class , 1L ) ) ) ) ; model . METHOD_8 ( ) ; model = serialize ( model ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( ) { if ( ( ( object ) == null ) && ( ( IDENT_6 ) != null ) ) { java . util . List < nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . properties . IDENT_7 > IDENT_8 = new java . util . ArrayList ( IDENT_9 ) ; for ( nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . properties . IDENT_7 IDENT_10 : IDENT_8 ) { nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . helper . IDENT_11 . setValue ( IDENT_10 . METHOD_10 ( ) , IDENT_10 . getProperty ( ) , new nl . IDENT_0 . IDENT_1 . hibernate . IDENT_2 . helper . METHOD_11 ( IDENT_10 ) . METHOD_12 ( ) ) ; } IDENT_9 . METHOD_6 ( ) ; object = IDENT_6 ; IDENT_6 = null ; } return object ; }
org . junit . Assert . assertEquals ( 1 , model . METHOD_9 ( ) . METHOD_2 ( ) . size ( ) )