Without Book Poser une 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.
Votre 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.
Publie le Jul 15, 2014 Publie par Raj Mohan