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

    VersionManagerFacade<Session> facade = getFacade(mock(VersionManager.class));
    facade.restore((Version) null, true);
}