Is there a good example (or an existing convenience method) that duplicates much of the logic of SolrDispatchFilter for test cases? The main thing I think is missing over just creating a LocalQueryRequest is the filling in of the streams.
SolrRequestParser.parse() takes an HttpServletRequest argument, which we don't have with a local test. Perhaps LocalQueryRequest should set streams or override getContentStreams() so nothing else would need to be done? -Yonik