StringValueProperty extends StringProperty { @NotNull @Override public String get() { return myValue; } StringValueProperty(@NotNull String value);  StringValueProperty(); @NotNull @Override String get(); @NotNull @Override ObservableBool isEmpty(); @NotNull @Override ObservableString trim();  }
@Test public void testSetValue() { StringValueProperty stringValue = new StringValueProperty("Hello"); stringValue.set("Goodbye"); assertThat(stringValue.get()).isEqualTo("Goodbye"); }
@Test public void testClearValue() { StringValueProperty stringValue = new StringValueProperty("Dummy text"); stringValue.clear(); assertThat(stringValue.get()).isEqualTo(""); }