NamePathMapperImpl implements NamePathMapper { @NotNull @Override public String getOakName(@NotNull String jcrName) throws RepositoryException { return nameMapper.getOakName(jcrName); } NamePathMapperImpl(NameMapper nameMapper);  NamePathMapperImpl(NameMapper nameMapper, IdentifierManager idManager); @Override String getOakNameOrNull(@NotNull String jcrName); @NotNull @Override String getOakName(@NotNull String jcrName); @NotNull @Override String getJcrName(@NotNull String oakName); @Override @NotNull Map<String, String> getSessionLocalMappings(); @Override String getOakPath(String jcrPath); @Override @NotNull String getJcrPath(final String oakPath);  }
@Test public void testBracketsInNodeName() throws Exception { String[] childNames = { "{A}", "B}", "{C", "(D)", "E)", "(F", }; for (String name : childNames) { assertEquals(name, npMapper.getOakName(name)); } }