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

    JackrabbitWorkspaceFacade<JackrabbitSession> facade = getFacade(mock(JackrabbitWorkspace.class));
    facade.createWorkspace("", (InputSource) null);
}