public void Adds_sub_provisioner() { var parent = new HarshProvisioner(); var child = new HarshProvisioner(); HarshProvisionerCmdlet.AddChild(parent, child); Assert.Contains(child, parent.Children); }
public async Task Adds_default_context_tag() { var parent = new HarshProvisioner() { Children = { new ExpectsTag() } }; var tag = new Tag() { Value = 42 }; HarshProvisionerCmdlet.AddChild(parent, tag); await parent.ProvisionAsync(Context); }