}
}
@Test
public void testDynamicMount() throws GWTJahiaServiceException, RepositoryException {
ContentHubHelper contentHubHelper = (ContentHubHelper) SpringContextSingleton.getInstance().getContext().getBean("ContentHubHelper");
JahiaUser jahiaRootUser = JahiaAdminUser.getAdminUser(0);
contentHubHelper.mount(MOUNTS_DYNAMIC_MOUNT_POINT_NAME, "file://" + dynamicMountDir.getAbsolutePath(), jahiaRootUser);
JCRSessionWrapper session = JCRSessionFactory.getInstance().getCurrentUserSession();
assertRootNavigation(session);
JCRNodeWrapper mountNode = getNode(session, MOUNTS_DYNAMIC_MOUNT_POINT);