Пример #1
0
        public void DropProject()
        {
            var dropProject = ApiClientHelper.GetFirstProject();

            var request = _builder.GetDeleteProjectRequest(dropProject.Id);
            var res     = _client.GetBoolResult(request);

            Assert.IsTrue(res);

            var newProjects = ApiClientHelper.GetProjects();

            Assert.IsNull(newProjects.FirstOrDefault(p => p.Id == dropProject.Id));
        }