public async Task CloneOrganization() { var source = await _organizationsApi.CreateOrganization(GenerateName("Constant Pro")); var properties = new Dictionary <string, string> { { "color", "green" }, { "location", "west" } }; var label = await Client.GetLabelsApi().CreateLabel(GenerateName("Cool Resource"), properties, source.Id); await _organizationsApi.AddLabel(label, source); var name = GenerateName("cloned"); var cloned = await _organizationsApi.CloneOrganization(name, source); Assert.AreEqual(name, cloned.Name); var labels = await _organizationsApi.GetLabels(cloned); Assert.AreEqual(1, labels.Count); Assert.AreEqual(label.Id, labels[0].Id); }