@Test
public void testImportXML() throws RepositoryException, IOException {

    String path = "path";
    InputStream stream = new ByteArrayInputStream(new byte[0]);
    session.importXML(path, stream, 0);
    replay(session);
    replay(sessionFactory);
    jcrTemplate.importXML(path, stream, 0);
}