public async Task UpdateRfiStatuses() { IPlanGridApi client = PlanGridClient.Create(); Page <RfiStatus> statuses = await client.GetRfiStatuses(TestData.Project1Uid); Assert.AreEqual("draft", statuses.Data[0].Label); await client.UpdateRfiStatus(TestData.Project1Uid, statuses.Data[0].Uid, new RfiStatusUpdate { Label = "draft2" }); statuses = await client.GetRfiStatuses(TestData.Project1Uid); Assert.AreEqual("draft2", statuses.Data[0].Label); await client.UpdateRfiStatus(TestData.Project1Uid, statuses.Data[0].Uid, new RfiStatusUpdate { Label = "draft" }); statuses = await client.GetRfiStatuses(TestData.Project1Uid); Assert.AreEqual("draft", statuses.Data[0].Label); }