assertDefaultContentImportedInWorkspace("other");
}
@Test
public void shouldImportCustomInitialContentIntoWorkspace() throws Exception {
JcrSession session = preconfiguredRepository.login("extra");
Node folder = session.getNode("/folder");
assertEquals(JcrConstants.NT_FOLDER, folder.getPrimaryNodeType().getName());
Node file1 = session.getNode("/folder/file1");
assertEquals(JcrConstants.NT_FILE, file1.getPrimaryNodeType().getName());
Node file1Content = session.getNode("/folder/file1/jcr:content");
assertEquals(JcrConstants.NT_UNSTRUCTURED, file1Content.getPrimaryNodeType().getName());
Node file2 = session.getNode("/folder/file2");
assertEquals(JcrConstants.NT_FILE, file2.getPrimaryNodeType().getName());
Node file2Content = session.getNode("/folder/file2/jcr:content");
assertEquals(JcrConstants.NT_UNSTRUCTURED, file2Content.getPrimaryNodeType().getName());
}