Closed jOlliv closed 9 years ago
Check issue #70 that I have opened. You cannot mock java classes with JMockit 1.12. I believe this will be possible again with JMockit 1.13.
Same cause as #81. Workaround: simply remove the entire expectation block.
The following code runs fine with JMockit 1.11 but stop working with JMockit 1.12 with a NullPointerException at java.io.Writer.write():
Setting "cascading=false" to FacesContext let the test run fine with JMockit 1.12.
Making usage of cascading will also not work for this test with JMockit 1.12: