@Test
public void createFromNonOptionalSuccessful()
{

    final DummyTestTarget testTarget = new DummyTestTarget();
    final Property<String> bothSet = PropertyCreationHelper.createFromNonOptional(o -> testTarget.getValueOne(), (o, s) -> testTarget.setValueOne(s), false);
    Assert.assertFalse(bothSet instanceof StaticValueProperty);
    Assert.assertEquals("One", bothSet.apply(new Object()).get());
    bothSet.accept(new Object(), "Set");
    Assert.assertEquals("Set", testTarget.getValueOne());
}