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

    VersionManagerFacade<Session> facade = getFacade(mock(VersionManager.class));
    facade.restore(new Version[0], true);
}