use of org.eclipse.jetty.webapp.ClassMatcher in project spring-boot by spring-projects.
the class JettyServletWebServerFactoryTests method mockConfiguration.
Configuration mockConfiguration(Class<? extends Configuration> type) {
Configuration mock = mock(type);
ClassMatcher classMatcher = new ClassMatcher();
given(mock.getSystemClasses()).willReturn(classMatcher);
given(mock.getServerClasses()).willReturn(classMatcher);
return mock;
}
Aggregations