@Test
public void testGetValueOr() {

  OptionalProperty<String> optStringValue = OptionalValueProperty.absent();
  assertThat(optStringValue.getValueOr("Default")).isEqualTo("Default");
  assertThat(optStringValue.get().isPresent()).isFalse();
  optStringValue.setValue("Not Default");
  assertThat(optStringValue.getValueOr("Default")).isEqualTo("Not Default");
  assertThat(optStringValue.get().isPresent()).isTrue();
}