@Test
public void canSavePropertiesToAStream() throws IOException {
InfinitestSettings settings = new InfinitestSettings();
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
settings.saveTo(outputStream);
Properties properties = new Properties();
properties.load(new ByteArrayInputStream(outputStream.toByteArray()));
assertEquals("true", properties.getProperty(IS_ENABLED));
}
}