use of org.neo4j.kernel.configuration.BoltConnector in project neo4j by neo4j.
the class ConfigLoaderTest method loadOfflineConfigAddDisabledBoltConnector.
@Test
public void loadOfflineConfigAddDisabledBoltConnector() throws IOException {
// given
Optional<File> configFile = ConfigFileBuilder.builder(folder.getRoot()).build();
// when
Config testConf = ConfigLoader.loadConfigWithConnectorsDisabled(Optional.of(folder.getRoot()), configFile);
// then
assertNotNull(testConf);
assertEquals(false, testConf.get(new BoltConnector().enabled));
}
Aggregations