Without Book Ask Question
Review the question and existing answers carefully before replying. The best answers explain the reasoning, steps, and tradeoffs so other learners can benefit too.
Question. no last call on a mock available
- Getting below exception while using powermock in my junit classes:
java.lang.IllegalStateException: no last call on a mock available
at org.easymock.EasyMock.getControlForLastCall(EasyMock.java:520)
at org.easymock.EasyMock.expect(EasyMock.java:498)
at
Please suggest.
Posted At Jul 15, 2014 Posted By Raj Mohan