@Test
public void set()
{

    final Property<String> targetOne = new StaticValueProperty<>("Static");
    final IDependencyObject<String> depOne = new PropertyBasedDependencyObject<>(targetOne, "Default");
    Assert.assertEquals("Static", depOne.get(new DummyInjectionTarget()));
    depOne.set(new DummyInjectionTarget(), "Changed");
    final Optional<String> result = targetOne.apply(new Object());
    Assert.assertTrue(result.isPresent());
    Assert.assertEquals("Changed", result.get());
}