METHOD_0 ( ) { final net . IDENT_0 . entities . IDENT_1 IDENT_2 = new net . IDENT_0 . entities . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( STRING_0 ) ; IDENT_2 . setId ( 1 ) ; when ( repository . get ( 1 ) ) . thenReturn ( IDENT_2 ) ; net . IDENT_0 . entities . METHOD_1 IDENT_3 = new net . IDENT_0 . entities . METHOD_1 ( ) ; IDENT_3 . setId ( 1 ) ; IDENT_3 . METHOD_2 ( STRING_1 ) ; service . update ( IDENT_3 , null ) ; "<AssertPlaceHolder>" ; verify ( repository ) . update ( IDENT_2 ) ; } getCode ( ) { return this . code ; }
org . junit . Assert . assertEquals ( IDENT_3 . getCode ( ) , IDENT_2 . getCode ( ) )