YamlConfigurationOptions extends FileConfigurationOptions { @Override public YamlConfigurationOptions pathSeparator(final char value) { super.pathSeparator(value); return this; } protected  YamlConfigurationOptions(final YamlConfiguration configuration); @Override YamlConfiguration configuration(); @Override YamlConfigurationOptions copyDefaults(final boolean value); @Override YamlConfigurationOptions pathSeparator(final char value); @Override YamlConfigurationOptions header(final String value); @Override YamlConfigurationOptions copyHeader(final boolean value); int indent(); YamlConfigurationOptions indent(final int value); @Override boolean equals(Object o); @Override int hashCode();  }
@Test void pathSeparator() { final YamlConfiguration configuration = new YamlConfiguration(); final YamlConfigurationOptions options = new YamlConfigurationOptions(configuration); MatcherAssert.assertThat( "Default path separator is not a dot!", options.pathSeparator(), new IsEqual<>('.') ); options.pathSeparator('/'); MatcherAssert.assertThat( "Path separator has not changed!", options.pathSeparator(), new IsEqual<>('/') ); }