public void HasProperty_for_child() { var instance = new ConfiguredInstance(GetType()); IConfiguredInstance configuredInstance = instance; configuredInstance.HasProperty("prop1", null).ShouldBeFalse(); instance.Child("prop1").IsNamedInstance("something"); configuredInstance.HasProperty("prop1", null).ShouldBeTrue(); }