Example #1
0
        public void AddProject()
        {
            var site = "http://ya.ru";

            var request   = _builder.GetAddProjectRequest(site);
            var projectId = _client.GetMessageResult(request);

            Assert.IsTrue(projectId >= 0, "id >= 0");

            var newProject = ApiClientHelper.GetFirstProject(projectId);

            Assert.AreEqual(site.Replace("http://", ""), newProject.Site);
        }