c.setEvictionConfig(new EvictionConfig());
EvictionConfig evConfig = c.getEvictionConfig();
evConfig.setDefaultEventQueueSize(20000);
evConfig.setDefaultEvictionPolicyClass(FIFOPolicy.class.getName());
List<EvictionRegionConfig> erConfigs = new ArrayList<EvictionRegionConfig>();
erConfigs.add(createEvictionRegionConfig("/_default_", 2, new FIFOConfiguration()));
erConfigs.add(createEvictionRegionConfig("/a/b/c", 2, new MyPolicyConfig()));
evConfig.setEvictionRegionConfigs(erConfigs);
doTest(c);
assert false : "Should throw exception";
}