public void ProjectRemoveTest()
        {
            ProjectDataComparator comparator = new ProjectDataComparator();

            app.Project.CreateIfNotExist();
            List <MantisConnect.ProjectData> oldProjects = app.Project.GetProjectListWithMantis();

            app.Project.Delete(1);


            List <MantisConnect.ProjectData> newProjects = app.Project.GetProjectListWithMantis();

            oldProjects.RemoveAt(0);
            oldProjects.Sort(comparator);
            newProjects.Sort(comparator);

            Assert.AreEqual(newProjects, oldProjects);
        }
        public void ProjectCreationTest()
        {
            ProjectDataComparator            comparator  = new ProjectDataComparator();
            List <MantisConnect.ProjectData> oldProjects = app.Project.GetProjectListWithMantis();

            MantisConnect.ProjectData project = new MantisConnect.ProjectData()
            {
                name = "334"
            };

            app.Project.CreateWithMantisMetod(project);

            List <MantisConnect.ProjectData> newProjects = app.Project.GetProjectListWithMantis();

            oldProjects.Add(project);
            oldProjects.Sort(comparator);
            newProjects.Sort(comparator);

            Assert.AreEqual(newProjects, oldProjects);
        }