public void testCreateDuplicateRootItem() throws Exception { User testuser = getUser(userDao, "testuser"); try { contentDao.createRootItem(testuser); Assert.fail("able to create duplicate root item"); } catch (RuntimeException re) { } }