{
interceptLogging("hivemind.test.services.Demo");
// configure intercepted methods: include "no*", exclude "always*"
List interceptedMethods = new ArrayList();
MethodContribution include = new MethodContribution();
include.setMethodPattern("no*");
include.setInclude(true);
MethodContribution exclude = new MethodContribution();
exclude.setMethodPattern("always*");
interceptedMethods.add(include);
interceptedMethods.add(exclude);
Registry r = createRegistryWithInterceptedService("Demo", DemoService.class.getName(),
DemoServiceImpl.class.getName(), interceptedMethods);