@Test
public void testPolicyRestrictor() throws Exception {

    Configuration config = getConfig(ConfigKey.POLICY_LOCATION, "classpath:/access-restrictor-factory-test.xml");
    Restrictor restrictor = RestrictorFactory.createRestrictor(config, dummyLogHandler);
    assertTrue(restrictor.getClass().isAssignableFrom(PolicyRestrictor.class));
}