MatcherAssert.assertThat(config.getRangeApproximation(), is(12345));
}
@Test public void shouldRead_configForLocalProject_fromSystemProperties() throws IOException {
GalenConfig config = GalenConfig.getConfig();
System.setProperty("galen.range.approximation", "5");
System.setProperty("galen.reporting.listeners", "net.mindengine.system.CustomListener, net.mindengine.system.CustomListener2 ");
config.reset();
assertThat(config.getRangeApproximation(), is(5));
assertThat(config.getReportingListeners(), Matchers.contains("net.mindengine.system.CustomListener", "net.mindengine.system.CustomListener2"));
deleteSystemProperty("galen.range.approximation");
deleteSystemProperty("galen.reporting.listeners");
config.reset();
}