METHOD_0 ( ) { com . IDENT_0 . model . api . Entity parameter = mock ( com . IDENT_0 . model . api . Entity . class ) ; METHOD_1 ( parameter . isValid ( ) ) . METHOD_2 ( true ) ; METHOD_1 ( IDENT_1 . create ( ) ) . METHOD_2 ( parameter ) ; com . IDENT_0 . model . api . Entity IDENT_2 = mock ( com . IDENT_0 . model . api . Entity . class ) ; METHOD_1 ( IDENT_2 . isValid ( ) ) . METHOD_2 ( true ) ; METHOD_1 ( IDENT_2 . getId ( ) ) . METHOD_2 ( INT_0 ) ; METHOD_1 ( IDENT_1 . save ( parameter ) ) . METHOD_2 ( IDENT_2 ) ; com . IDENT_0 . model . api . Entity IDENT_3 = IDENT_4 . METHOD_3 ( ) ; verify ( IDENT_1 ) . save ( parameter ) ; "<AssertPlaceHolder>" ; } getId ( ) { return id ; }
org . junit . Assert . assertEquals ( java . lang . Long . valueOf ( INT_0 ) , IDENT_3 . getId ( ) )