public TestDriverContext(Class<?> contextClass) {
if (contextClass == null) {
throw new IllegalArgumentException("contextClass must not be null"); //$NON-NLS-1$
}
this.callerClass = contextClass;
this.repository = new TestToolRepository(contextClass.getClassLoader());
this.extraConfigurations = new TreeMap<String, String>();
this.batchArgs = new TreeMap<String, String>();
this.environmentVariables = new HashMap<String, String>(System.getenv());
this.options = new FlowCompilerOptions();
configureOptions();