Ejemplo n.º 1
0
        public void DeleteActivity()
        {
            var proxy    = new ActivityProxy();
            var response = proxy.DeleteActivity(_testActivityToBeDeletedId);

            Assert.True(response.IsSuccessfull, "Call to DeleteActivity was not successful");
            Assert.True(response.DataObject != null, "Call to DeleteActivity returned no data");

            var verifyDeleted = proxy.GetActivity(_testActivityToBeDeletedId);

            Assert.False(verifyDeleted.IsSuccessfull, "Call to Get deleted activity was successful");
            Assert.Null(verifyDeleted.DataObject);
        }