{"classpath:/access-restrictor.xml","not allowed"},
{"file:///not-existing.xml","No access"},
{"classpath:/${prop:jolokia.test1.policy.location}", "not allowed"},
{"classpath:/${prop:jolokia.test2.policy.location}.xml", "not allowed"}
}) {
Configuration config = getConfig(ConfigKey.POLICY_LOCATION,params[0]);
JolokiaHttpHandler newHandler = new JolokiaHttpHandler(config);
HttpExchange exchange = prepareExchange("http://localhost:8080/jolokia/read/java.lang:type=Memory/HeapMemoryUsage");
// Simple GET method
expect(exchange.getRequestMethod()).andReturn("GET");
Headers header = new Headers();