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

    LockManagerFacade<Session> facade = getFacade(mock(LockManager.class));
    facade.lock("", true, true, 0L, "");
}