@Test
public void testGetUserID() {

    String result = "userid";
    expect(session.getUserID()).andReturn(result);
    replay(session);
    replay(sessionFactory);
    assertSame(jcrTemplate.getUserID(), result);
}