From: Vincent M. <vm...@oc...> - 2002-11-02 19:43:00
|
Hi, I've just started playing with Dynamic Mocks and it looks just great! From the little I have seen so far, it looks much compact than EasyMock for example. It seems it is also more extensible and has already more features. I had to read the source code and the MockTest class to understand how it works. When is a tutorial scheduled? :-) I also think that the default return value for the String class should be null and not "", as null is what anyone expects when an object has not been defined. Thus, I find myself adding: mock.setupDefaultResult(String.class, null); in the setUp() methods of lots of my test cases. What do you think? Thanks -Vincent |