AJAX Form Submission The submit() method on the FormTester class won’t submit AJAX buttons (for example, the IndicatingAjaxButton). (Although the method can be used to test form validation). In order …

Troubleshooting JUnit 4 If you run JMock 2 with JUnit4 using maven, you must use JUnit version 4.8.1 or later. You’ll get run-time errors like java.lang.NoSuchMethodError: org.junit.internal.runners.MethodValidator.<init>(Lorg/junit/internal/runners/TestClass;)V at org.junit.internal.runners.JUnit4ClassRunner.validate(JUnit4ClassRunner.java:35) at …