throw new IllegalArgumentException("Invalid activities implementation: " + activitiesImplementation, e);
}
}
private TestPOJOActivityImplementationWorker getActivityWorker(String taskList) {
TestPOJOActivityImplementationWorker result = workers.get(taskList);
if (result == null) {
result = new TestPOJOActivityImplementationWorker(taskList);
if (dataConverter != null) {
result.setDataConverter(dataConverter);
}
workers.put(taskList, result);
}
return result;
}