public void configure_thread_pool() throws Exception {
Properties p = new Properties();
p.setProperty("sonar.web.http.minThreads", "2");
p.setProperty("sonar.web.http.maxThreads", "30");
p.setProperty("sonar.web.http.acceptCount", "20");
Props props = new Props(p);
Connectors.configure(tomcat, props);
verify(tomcat).setConnector(argThat(new PropertiesMatcher(
ImmutableMap.<String, Object>of("minSpareThreads", 2, "maxThreads", 30, "acceptCount", 20)