public void PageUpdates_ReturnPageUpdates(WireDataFormat format)
        {
            //arrange
            var          client = TestContext.CreateClientNoCredentials(format);
            var          fundraisingResources = new PageApi(client.HttpChannel);
            const string validPageShortName   = "my-test-8901";
            //act
            var result = fundraisingResources.PageUpdates(validPageShortName);

            //assert
            Assert.IsNotNull(result);
        }
        public void DeletePageUpdate_WhileSupportedValidCredentials_ReturnTrue(WireDataFormat format)
        {
            //arrage
            var client = TestContext.CreateClientValidCredentials(format);
            var fundraisingResource      = new PageApi(client.HttpChannel);
            var validUpdateRequest       = ValidUpdateRequest();
            var validRegisterPageRequest = ValidRegisterPageRequest();

            fundraisingResource.Create(validRegisterPageRequest);
            fundraisingResource.PageUpdatesAddPost(validRegisterPageRequest.PageShortName,
                                                   validUpdateRequest);
            var pageUpdatesResult = fundraisingResource.PageUpdates(validRegisterPageRequest.PageShortName);
            var update            = pageUpdatesResult.First();

            //act
            var result = fundraisingResource.DeletePageUpdate(validRegisterPageRequest.PageShortName, update.Id.Value);

            //assert
            Assert.IsTrue(result);
        }