replay(request, response, filterChain);
if (internal) {
assertFalse(filter.isExcluded(getResourcePath(request)));
} else {
assertEquals(excluded, excludes.matches(requestURI));
}
if (excluded && !internal) {
filter.doFilter(request, response, filterChain); // 对excluded request调用doFilter,应该立即返回
assertTrue(filter.isExcluded(getResourcePath(request)));