This articles gives you a short introduction on how to use Mock objects with unit tests. As an example tool, this articles uses Mocquer, which is similar to easymock. The difference between Mocquer and easymock is that Mocquer can create Mock objects of classes, whereas easymock can only work with interfaces.
rating comment: Good explanation of the Mocquer, not enough about using Mock objects with JUnit
Post a Comment