public static final int NB_CHILDREN = 10;
@BeforeClass
public static void oneTimeSetUp() throws Exception {
try {
JahiaSite site = TestHelper.createSite(TESTSITE_NAME);
JCRTemplate.getInstance().doExecuteWithSystemSession(new JCRCallback<Object>() {
public Object doInJCR(JCRSessionWrapper session) throws RepositoryException {
StopWatch stopWatch = new StopWatch("oneTimeSetUp");
stopWatch.start(Thread.currentThread().getName() + " creating set up nodes");
int pagesCreated = TestHelper.createSubPages(session.getNode(SITECONTENT_ROOT_NODE), 3, NB_CHILDREN);