What steps will reproduce the problem? 1. Run the JUnit test in attachment
What is the expected output? What do you see instead? Expected is the following exception : org.mockito.exceptions.verification.ArgumentsAreDifferent
Instead the following exception is thrown : java.lang.IllegalArgumentException: Something went really wrong. Arguments passed to ArrayEquals have to be an array or null!
What version of the product are you using? On what operating system? Mockito 1.4/Mockito 1.5 on Windows XP
Please provide any additional information below. See attachment.
- MockitoArrayIssue.java 3.77KB
Comment #1
Posted on Sep 5, 2008 by Happy Monkey(No comment was entered for this change.)
Comment #2
Posted on Sep 5, 2008 by Swift RabbitIs it fixed in the upcoming 1.6 release?
Comment #3
Posted on Sep 5, 2008 by Happy MonkeyYes, it will be included in the next release, which should be pretty soon. If you need it right now you can get the latest version from trunk.
Comment #4
Posted on Apr 19, 2009 by Massive Monkey(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium
Milestone-Pre1.7