WebClient web = createWebClient();
doTestSearch(web, "name=value", 2);
//Setup ACL
hudson.setSecurityRealm(createDummySecurityRealm());
hudson.setAuthorizationStrategy(new TestACL());
//Do the test with ACL
web = createWebClient();
web = web.login("testuser");
doTestSearch(web, "name=value", 1);