AbstractAccessControlList implements JackrabbitAccessControlList { @NotNull public NamePathMapper getNamePathMapper() { return namePathMapper; } AbstractAccessControlList(@Nullable String oakPath,
                                     @NotNull NamePathMapper namePathMapper); @Nullable String getOakPath(); @NotNull NamePathMapper getNamePathMapper(); @NotNull abstract List<? extends JackrabbitAccessControlEntry> getEntries(); @NotNull abstract RestrictionProvider getRestrictionProvider(); @Nullable @Override String getPath(); @Override AccessControlEntry[] getAccessControlEntries(); @Override boolean addAccessControlEntry(Principal principal, Privilege[] privileges); @Override boolean isEmpty(); @Override int size(); @NotNull @Override String[] getRestrictionNames(); @Override int getRestrictionType(@NotNull String restrictionName); @Override boolean isMultiValueRestriction(@NotNull String restrictionName); @Override boolean addEntry(@NotNull Principal principal, @NotNull Privilege[] privileges, boolean isAllow); @Override boolean addEntry(@NotNull Principal principal, @NotNull Privilege[] privileges, boolean isAllow, @Nullable Map<String, Value> restrictions);  }
@Test public void testGetNamePathMapper() { assertSame(getNamePathMapper(), createEmptyACL().getNamePathMapper()); assertSame(NamePathMapper.DEFAULT, createACL(getTestPath(), ImmutableList.<JackrabbitAccessControlEntry>of(), NamePathMapper.DEFAULT).getNamePathMapper()); }