Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Regression: Calling constructor for MockUp in Test results in java.lang.VerifyError for 1.9 #25
OS name: "mac os x", version: "10.9.4", arch: "x86_64", family: "mac"
I rolled back JMockIt to 1.8 and the tests passed again. Also, tests seem to work in IntelliJ on 1.9 with standard configuration run. Code is below.
Created a mock class that mocks org.mongojack.DBCursor
Class is called in test like so:
(Note: JacksonDBCollectionMock is another mock that does not have an $init method.)