public void InstantiateGraphWithModifications() { var resource = new TestNestedResource() { Nested = new TestNestedResource() { Foo = "turtles all the way down?", }, }; resource.GetModifiedData().Keys.Should().BeEquivalentTo("nested"); resource.Nested.GetModifiedData().Keys.Should().BeEquivalentTo("foo"); }
public void NotThrowForNonexistentNestedProperty() { var resource = new TestNestedResource(); resource.Nested.Should().NotBeNull(); }