public void UpdateStatus_ExistingRequest()
        {
            VMRequestManagement management = new VMRequestManagement();

            VirtualMachineRequest request = null;

            for (int i = 1; i < int.MaxValue; i++)
            {
                try
                {
                    request = management.Get(i);
                    break;
                }
                catch (ArgumentException)
                { }
                catch
                {
                    Assert.Fail("Unable to retrieve existing requests");
                }
            }

            RequestStatus originalStatus = request.Status;

            management.UpdateStatus(request.Id, RequestStatus.None, null);

            VirtualMachineRequest newRequest = management.Get(request.Id);

            Assert.IsTrue(newRequest.Status == RequestStatus.None);

            management.UpdateStatus(request.Id, originalStatus, "test");
        }
        public void UpdateStatus_InvalidMachineId()
        {
            VMRequestManagement management = new VMRequestManagement();

            management.UpdateStatus(0, RequestStatus.None, null);
        }