METHOD_0 ( ) { session = IDENT_0 . METHOD_1 ( ) ; int count = session . from ( IDENT_1 ) . list ( IDENT_1 ) . size ( ) ; com . IDENT_2 . IDENT_3 . model . IDENT_4 tx = session . METHOD_2 ( ) ; session . save ( new com . IDENT_2 . IDENT_3 . IDENT_5 . METHOD_3 ( ) ) ; session . save ( new com . IDENT_2 . IDENT_3 . IDENT_5 . METHOD_3 ( ) ) ; tx . commit ( ) ; session . close ( ) ; session = IDENT_0 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } from ( com . IDENT_2 . query . types . IDENT_6 [ ] ) { return IDENT_7 . from ( o ) ; }
org . junit . Assert . assertEquals ( ( count + 2 ) , session . from ( IDENT_1 ) . list ( IDENT_1 ) . size ( ) )