YamlConfigurationOptions extends FileConfigurationOptions { @Override public YamlConfigurationOptions header(final String value) { super.header(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 header() { final YamlConfiguration configuration = new YamlConfiguration(); final YamlConfigurationOptions options = new YamlConfigurationOptions(configuration); final String header = "Test header!"; options.header(header); MatcherAssert.assertThat( "Couldn't set header!", options.header(), new IsEqual<>(header) ); }