public void setUp() {
RubyHelper.setRubyServicesFactory(JRubyServices.FACTORY);
ValidationOptions options = getValidationOptions();
injector = new PPDiagnosticsSetup(options.getComplianceLevel(), options.getProblemsAdvisor()).createInjectorAndDoEMFRegistration();
injector = injector.createChildInjector(
GsonModule.INSTANCE, new ForgeModule(), new ValidationModule(), new DependencyGraphModule(
JavascriptHrefProducer.class, ""));
}