TestScript scriptData = klass.getAnnotation(TestScript.class);
if (scriptData == null) {
throw new InitializationError("Hegemon tests must be annotated with @Script");
}
try {
this.testScript = new Script("", loadPath, "hegemon/core", "hegemon/unittest", scriptData.filename());
} catch (LoadError e) {
throw new InitializationError(e);
}
}