public void ThenTheRetrievedOperationIsPercentComplete(int expectedPercentComplete)
        {
            Client.OperationsStatus.Models.Operation result =
                this.ScenarioContext.Get <Client.OperationsStatus.Models.Operation>(LastResponseContextKey);

            Assert.AreEqual(expectedPercentComplete, result.PercentComplete);
        }
        public void ThenTheRetrievedOperationHasPercentCompleteSetToNull()
        {
            Client.OperationsStatus.Models.Operation result =
                this.ScenarioContext.Get <Client.OperationsStatus.Models.Operation>(LastResponseContextKey);

            Assert.IsNull(result.PercentComplete);
        }
        public void ThenTheRetrievedOperationHasTheResourceLocation(string expectedResourceLocation)
        {
            Client.OperationsStatus.Models.Operation result =
                this.ScenarioContext.Get <Client.OperationsStatus.Models.Operation>(LastResponseContextKey);

            Assert.AreEqual(expectedResourceLocation, result.ResourceLocation);
        }