Session session = null;
try {
File directory =
new File("target", "tarmk-" + System.currentTimeMillis());
this.store = new FileStore(directory, 1024 * 1024, false);
Jcr jcr = new Jcr(new Oak(new SegmentNodeStore(store)));
this.repository = jcr.createRepository();
session = getRepository().login(superuser);
TestContentLoader loader = new TestContentLoader();
loader.loadTestContent(session);