METHOD_0 ( ) { com . baeldung . hibernate . IDENT_0 . IDENT_1 IDENT_2 = new com . baeldung . hibernate . IDENT_0 . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( STRING_0 ) ; IDENT_2 . METHOD_3 ( STRING_1 ) ; java . util . Map < java . lang . String , java . lang . Object > attributes = new java . util . HashMap ( ) ; attributes . put ( STRING_2 , STRING_3 ) ; attributes . put ( STRING_4 , INT_0 ) ; IDENT_2 . METHOD_4 ( attributes ) ; session . METHOD_5 ( ) ; int id = ( ( int ) ( session . save ( IDENT_2 ) ) ) ; session . METHOD_6 ( ) ; session . METHOD_7 ( ) ; com . baeldung . hibernate . IDENT_0 . METHOD_1 result = session . METHOD_8 ( STRING_5 , com . baeldung . hibernate . IDENT_0 . METHOD_1 . class ) . METHOD_9 ( STRING_6 , id ) . METHOD_10 ( ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { return IDENT_3 ; }
org . junit . Assert . assertEquals ( 2 , result . METHOD_11 ( ) . size ( ) )