@Test
public void createFromSetterAndGetter1()
{

    final DummyInjectionTarget target = new DummyInjectionTarget();
    final LambdaWrapper wrapper = new LambdaWrapper();
    final IDependencyObject<String> dep = DependencyObjectHelper.createFromSetterAndGetter(o -> wrapper.getValue(), (o, s) -> wrapper.setValue(s), "Default");
    Assert.assertTrue(dep instanceof PropertyBasedDependencyObject);
    Assert.assertEquals("Value", dep.get(target));
    Assert.assertEquals("Value", wrapper.getValue());
    dep.set(target, "Set");
    Assert.assertEquals("Set", dep.get(target));
    Assert.assertEquals("Set", wrapper.getValue());
}