Properties p = new Properties();
p.setProperty("sonar.search.port", "0");
Props props = new Props(p);
DefaultSettings.init(props);
assertThat(props.valueAsInt("sonar.search.port")).isGreaterThan(0);
}
@Test
public void private_constructor() throws Exception {
assertThat(TestUtils.hasOnlyPrivateConstructors(DefaultSettings.class)).isTrue();