Ejemplo n.º 1
0
        public void CancelPage_WhileSupportedValidCredentials_ReturnTrue(WireDataFormat format)
        {
            //arrange
            var client = TestContext.CreateClientValidCredentials(format);
            var fundraisingResources = new PageApi(client.HttpChannel);
            var validRegisterPageRequest = ValidRegisterPageRequest();
            fundraisingResources.Create(validRegisterPageRequest);

            //act
            var result = fundraisingResources.CancelPage(validRegisterPageRequest.PageShortName);

            //assert
            Assert.IsTrue(result);
        }