QueryEngine qe = new JenaSparqlEngine();
WeightedTcProvider wtcp = new SimpleTcProvider();
TcManager tcm = new SpecialTcManager(qe, wtcp);
Refactorer refactorer = new RefactorerImpl(null, new Serializer(), tcm, ruleStore,
emptyConfig);
try {
refactorer.ontologyRefactoring(ontology, recipeIRI);
} catch (RefactoringException e) {
fail("Error while refactoring.");
} catch (NoSuchRecipeException e) {
fail("Error while refactoring: no such recipe");
}