Hi James, it sounds good to me. I would advice Easymock.
Regards JB On 10/04/2013 03:06 PM, James Carman wrote:
As opposed to using a real HazelcastInstance, I would like to change the tests to use mock objects (using Mockito or something). There is no real reason to use a live, running Hazelcast instance in a unit test and it makes the unit tests very slow. Perhaps having a couple of tests that test the integration would be fine, but having every single test running against a real Hazelcast instance is just too time consuming. Thoughts? James
-- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com