@Test
public void testGetNamespaceURI() throws RepositoryException {

    String result = "namespace";
    String prefix = "prefix";
    expect(session.getNamespaceURI(prefix)).andReturn(result);
    replay(session);
    replay(sessionFactory);
    assertSame(jcrTemplate.getNamespaceURI(prefix), result);
}