// use the default factories from the configuration
cs.useDefaultFactories();
// get the PDP configuration's policy finder modules...
PDPConfig config = cs.getDefaultPDPConfig();
PolicyFinder finder = config.getPolicyFinder();
Set<PolicyFinderModule> policyModules = finder.getModules();
// ...and add the module used by the tests
policyModules.add(policyModule);
finder.setModules(policyModules);