public AddChild ( |
||
child | ||
Résultat | void |
public void ChildElementsAppendTheirsToTheirParents() { var child = new AutomationProvider(); _automationProvider.AddChild(child); _automationProvider.RuntimeId = 123; child.GetRuntimeId().Should().Equal(new[] { AutomationInteropProvider.AppendRuntimeId, 123, 0 }); }
private AutomationProvider AddChild() { var child = new AutomationProvider(); _parent.AddChild(child); return(child); }