Closed GoogleCodeExporter closed 9 years ago
That's not a bad idea. The syntax should probably follow the constructor and
invokeConstructor:
def mock = mock(Date, name("date mock"))
Original comment by julien.g...@gmail.com
on 7 Feb 2009 at 12:48
That will make the signatures of mock() very complicated.
Original comment by JohnnyJianHY
on 7 Feb 2009 at 12:59
I agree it's getting more complicated... I think we should provide an Object...
signature and find out what has been provided by the user.
Original comment by julien.g...@gmail.com
on 7 Feb 2009 at 3:04
That may be not easy to implement, as it is hard to cover all cases and handle
all
errors.
Original comment by JohnnyJianHY
on 7 Feb 2009 at 4:35
Seems it is not that difficult, I am going to have a try.
Original comment by JohnnyJianHY
on 11 Feb 2009 at 9:58
Original comment by JohnnyJianHY
on 11 Feb 2009 at 11:49
Original issue reported on code.google.com by
JohnnyJianHY
on 7 Feb 2009 at 12:43