### Question:
PathParser { public static String[] parse(String path, ConfigOptions options) { return parse(path, options.getPathSeparator(), options.getKeyValidator()); }  static String[] parse(String path, ConfigOptions options); static String[] parse(String path, char pathSeparator, Pattern keyValidator);  }### Answer:
@Test public void testPathParser() { String[] keys = PathParser.parse("root.parent.child", new ConfigOptions()); assertEquals(keys[0], "root"); assertEquals(keys[1], "parent"); assertEquals(keys[2], "child"); }