JackrabbitWorkspaceFacade extends WorkspaceFacade<JackrabbitWorkspace, S> implements JackrabbitWorkspace { @Override public PrivilegeManager getPrivilegeManager() throws RepositoryException { return new PrivilegeManagerFacade(delegate.getPrivilegeManager()); } @SuppressWarnings("WeakerAccess")  JackrabbitWorkspaceFacade(final @NotNull JackrabbitWorkspace delegate,
                                     final @NotNull SessionFacade<S> session); @Override PrivilegeManager getPrivilegeManager(); @Override final void createWorkspace(final String workspaceName, final InputSource workspaceTemplate);  }
@Test public void testGetPrivilegeManager() throws Exception { new FacadeGetterMapping.Tester<>(JackrabbitWorkspace.class, this::getFacade) .testFacadeGetter(PrivilegeManager.class, PrivilegeManagerFacade.class, JackrabbitWorkspace::getPrivilegeManager); }