Using JDummy
JDummy is a thin API which sits above JMock. It allows very succinct expectation setting code when the expectation code would normally involve many stubs. Our example is so simple, that its power is not illustrated.
Here is how we can test JavaStorer using JDummy:
Labels