public void testNull() throws Exception {}
public void _testCleanup() throws Exception {
CronExpression cronExpr = new CronExpression("* * * * * ?");
RuntimeDataCleanupRunnable runnable = new RuntimeDataCleanupRunnable();
Map<String, Object> details = new HashMap<String, Object>();
details.put("pid", new QName("test"));
details.put("transactionSize", 10);
CleanupInfo cleanupInfo = new CleanupInfo();
cleanupInfo.getFilters().add("a=b");
cleanupInfo.getCategories().add(CLEANUP_CATEGORY.CORRELATIONS);
details.put("cleanupInfo", cleanupInfo);
runnable.restoreFromDetailsMap(details);
runnable.setContexts(contexts);
NotifyingTerminationListener listener = new NotifyingTerminationListener();
cronScheduler.schedule(cronExpr, runnable, null, listener);
while( !listener.finished ) {
synchronized(listener) {