@Test
public void testGetRestUriScheme() throws RepositoryException, ValidationException {
validProperties.put("rest_enable_tls", "false");
final Configuration configWithoutTls = new Configuration();
new JadConfig(new InMemoryRepository(validProperties), configWithoutTls).process();
validProperties.put("rest_enable_tls", "true");
final Configuration configWithTls = new Configuration();
new JadConfig(new InMemoryRepository(validProperties), configWithTls).process();
assertEquals("http", configWithoutTls.getRestUriScheme());
assertEquals("https", configWithTls.getRestUriScheme());
}