@BeforeClass
public static void setUp() throws MarmottaImportException, URISyntaxException {
marmotta = new JettyMarmotta("/marmotta", SparqlWebService.class);
ImportService importService = marmotta.getService(ImportService.class);
UserService userService = marmotta.getService(UserService.class);
ContextService contextService = marmotta.getService(ContextService.class);
InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("foaf.rdf");
int n = importService.importData(is, "application/rdf+xml", userService.getAnonymousUser(), contextService.getDefaultContext());
log.info("Imported RDF test suite with {} triples", n);
RestAssured.baseURI = "http://localhost";
RestAssured.port = marmotta.getPort();
RestAssured.basePath = marmotta.getContext();