public void FieldInitialized() { var o = new TestClass(); ObservableAsPropertyHelper <string> .ToProperty(o, x => x.StringProperty, "test"); var value = o.StringProperty; value.ShouldBe("test"); }