/**
* @throws Exception
*/
@Before
public void setUp() throws Exception {
final JSPFProperties props = new JSPFProperties();
props.setProperty(PluginManager.class, "cache.enabled", "true");
props.setProperty(PluginManager.class, "cache.mode", "weak");
props.setProperty(PluginManager.class, "cache.file", "jspf.cache");
// props.setProperty(PluginManager.class, "logging.level", "ALL");
props.setProperty(PluginManager.class, "classpath.filter.default.pattern", "");
props.setProperty(Diagnosis.class, "recording.enabled", "true");
props.setProperty(Diagnosis.class, "recording.file", "diagnosis.record");
props.setProperty(Diagnosis.class, "recording.format", "java/serialization");
props.setProperty(Diagnosis.class, "analysis.stacktraces.enabled", "true");
props.setProperty(Diagnosis.class, "analysis.stacktraces.depth", "10000");
this.pm = PluginManagerFactory.createPluginManager(props);
}