assertEquals("/a/b[1]/c[1]", npMapper.getOakPathKeepIndex("/a/b[1]/c[01]"));
}
@Test
public void testJcrToOakKeepIndexNoRemap() {
NameMapper mapper = new TestGlobalNameMapper(GLOBAL);
NamePathMapper npMapper = new NamePathMapperImpl(mapper);
assertEquals("/", npMapper.getOakPathKeepIndex("/"));
assertEquals("/foo:bar", npMapper.getOakPathKeepIndex("/foo:bar"));
assertEquals("/foo:bar/quu:qux", npMapper.getOakPathKeepIndex("/foo:bar/quu:qux"));