Oct 08

You need to use the EasyMock class extension and replace:

import static org.easymock.EasyMock.*;

with

import static org.easymock.classextension.EasyMock.*;

You can then create a mock of your concrete class using:

MyConcreteClass mock = createMock(MyConcreteCless.class);

written by objects \\ tags: , ,


Comments are closed.