IntValueProperty extends IntProperty { @NotNull @Override public Integer get() { return myValue; } IntValueProperty(final Integer value);  IntValueProperty(); @NotNull @Override Integer get();  }
@Test public void testInitialization() { { IntValueProperty intValue = new IntValueProperty(42); assertThat(intValue.get()).isEqualTo(42); } { IntValueProperty intValue = new IntValueProperty(); assertThat(intValue.get()).isEqualTo(0); } }
@Test public void testSetValue() { IntValueProperty intValue = new IntValueProperty(0); intValue.set(-20); assertThat(intValue.get()).isEqualTo(-20); }
@Test public void testIncrementValue() { IntValueProperty intValue = new IntValueProperty(3); intValue.increment(); assertThat(intValue.get()).isEqualTo(4); }