Hello, SortableDataProvider, in package org.apache.wicket.extensions.markup.html.repeater.util, has a final method getSortState().
I cannot mock this method. I have copied SortableDataProvider under a different name, and subclassed this one,but I do not like this. The same happens with final LoadableDetachableModel.getObject(), but in this case I could mock LoadableDetachableModel.load(). So why are these methods final, and how do programmers test the provider? Thank you!