...
If an exception is thrown during processing in BaseWicketTester or the request was not processed by Wicket, you have to use #getLastRequest() to access this request (was #getRequest() previously).
WICKET-5389.
WicketTester assert feedback message methods work with java.io.Serializable WICKET-5128
org.apache.wicket.util.tester.WicketTester#assertErrorMessages and org.apache.wicket.util.tester.WicketTester#assertInfoMessages now accept a list/varargs of java.io.Serializable as argument.
This makes these methods consistent with org.apache.wicket.Component#error and other feedback message related methods.
org.apache.wicket.Component#setMetaData() value could be only a Serializable WICKET-5227
...