@Test(expected = ListenerReadOnlyException.class)
public void testRefresh() throws Exception {

    Lock mockLock = mock(Lock.class);
    LockFacade<Session> facade = getFacade(mockLock);
    facade.refresh();
}