2 ms·
Not really. You can set a custom default answer and you can write a method that creates mocks with that answer, but there are enough rough edges that it ends up
by lmm 10y ago
Not really. You can set a custom default answer and you can write a method that creates mocks with that answer, but there are enough rough edges that it ends up amounting to writing your own test framework. Much easier to just use EasyMock.