}
MockRunner mockRunner = getMatchedMockRunner(getMockRunners(), pathInfo);
if (mockRunner != null) {
MockResult result = mockRunner.dispatchRequest(request, response);
if (maxResults > 0) {
synchronized (results) {
while (maxResults > 0 && results.size() > maxResults) {
results.remove(0);