@Test
public void testReadDouble() {

  // given
  String name = "double";
  double value = Double.MIN_VALUE;
  DoubleProperty property = new SimpleDoubleProperty(null, name, -value);
  // when
  preferences.putDouble(name, value);
  // then
  PreferencesUtils.read(property, preferences);
  assertEquals(property.getValue().doubleValue(), value);
}