@Test
public void testDenyAllRestrictor() throws Exception {

    Configuration config = getConfig(ConfigKey.POLICY_LOCATION, "file:///some_non_existing_file.xml");
    Restrictor restrictor = RestrictorFactory.createRestrictor(config, dummyLogHandler);
    assertTrue(restrictor.getClass().isAssignableFrom(DenyAllRestrictor.class));
}