@Test
public void createFromProperty()
{

    final DummyInjectionTarget target = new DummyInjectionTarget();
    final Property<String> property = PropertyCreationHelper.create(Optional.empty(), Optional.empty(), false);
    final IDependencyObject<String> dep = DependencyObjectHelper.createFromProperty(property, "Default");
    Assert.assertTrue(dep instanceof PropertyBasedDependencyObject);
    Assert.assertEquals("Default", dep.get(target));
}