示例#1
0
        public async Task Should_Delete_User()
        {
            var userId = 44.ToString();

            try
            {
                await redmineManager.DeleteObjectAsync <User>(userId, null);

                var user = await redmineManager.GetObjectAsync <User>(userId, null);
            }
            catch (RedmineException exc)
            {
                StringAssert.Contains(exc.Message, "Not Found");
            }
        }