Open GoogleCodeExporter opened 8 years ago
I really am looking for some inputs. Please help!
Original comment by bsrera...@gmail.com
on 23 Dec 2013 at 1:57
Further debugging gave me the exception in Powermock saying
org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException:
Type has not been loaded occurred while retrieving component type of array.
This happens only when the actual function is called. Not while setting the
expectation.
Any clues on this?
Original comment by bsrera...@gmail.com
on 24 Dec 2013 at 4:06
Found the problem. Were giving EasyMock.eq(0) instead of EasyMock.eq(0L). Note
the method takes long as an argument whereas the default 0 is an integer. Not
noticing that I did initialize the long[] separately as
long longarr = new long[]{EasyMock.eq(13487148)};
So were getting the second exception.
Hope this helps someone.
Thanks
Original comment by bsrera...@gmail.com
on 24 Dec 2013 at 4:29
Original issue reported on code.google.com by
bsrera...@gmail.com
on 23 Dec 2013 at 11:01