METHOD_0 ( ) { new net . IDENT_0 . util . METHOD_1 ( session ( ) ) . run ( STRING_0 ) ; net . IDENT_0 . repository . IDENT_1 dao = this . METHOD_2 ( ) ; net . IDENT_0 . entities . IDENT_2 IDENT_3 = dao . get ( 1 ) ; net . IDENT_0 . entities . IDENT_4 expected = new net . IDENT_0 . entities . METHOD_3 ( ) ; expected . setId ( 2 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( net . IDENT_0 . entities . IDENT_5 ) { org . hibernate . IDENT_6 . IDENT_7 IDENT_8 = org . hibernate . IDENT_6 . IDENT_7 . METHOD_5 ( net . IDENT_0 . entities . METHOD_3 . class ) . METHOD_6 ( org . hibernate . IDENT_6 . IDENT_9 . max ( STRING_1 ) ) . add ( org . hibernate . IDENT_6 . IDENT_10 . eq ( STRING_2 , IDENT_11 ) ) . add ( org . hibernate . IDENT_6 . IDENT_10 . eq ( STRING_3 , false ) ) . METHOD_7 ( STRING_4 ) ; return ( ( net . IDENT_0 . entities . METHOD_3 ) ( session . METHOD_8 ( net . IDENT_0 . entities . METHOD_3 . class ) . add ( org . hibernate . IDENT_6 . IDENT_12 . METHOD_9 ( STRING_1 , IDENT_8 ) ) . METHOD_7 ( STRING_5 ) . METHOD_10 ( ) ) ) ; }
org . junit . Assert . assertEquals ( expected , dao . METHOD_4 ( IDENT_3 ) )