public void AssignDuplicateDevelopersTest()
        {
            ToDo      t  = new ToDo(1, this.testDecription, this.testDecription, this.testDueTimestamp, Priority.NORMAL);
            Developer d1 = new Developer(1, "John Doe");

            t.AssignDeveloper(d1);
            t.AssignDeveloper(d1);
        }
        public void RemoveDeveloperTest()
        {
            ToDo      t  = new ToDo(1, this.testDecription, this.testDecription, this.testDueTimestamp, Priority.NORMAL);
            Developer d1 = new Developer(1, "John Doe");
            Developer d2 = new Developer(11, "Jane Doe");

            t.AssignDeveloper(d1);
            t.AssignDeveloper(d2);
            t.RemoveDeveloper(d1);

            CollectionAssert.AreEquivalent(new Developer[] { d2 }, t.GetAssignedDevelopers());
        }
        public void AssignFourDevelopersTest()
        {
            ToDo      t  = new ToDo(1, this.testDecription, this.testDecription, this.testDueTimestamp, Priority.NORMAL);
            Developer d1 = new Developer(1, "John Doe");
            Developer d2 = new Developer(11, "Jane Doe");
            Developer d3 = new Developer(111, "Donald Duck");
            Developer d4 = new Developer(1111, "Bruce Lee");

            t.AssignDeveloper(d1);
            t.AssignDeveloper(d2);
            t.AssignDeveloper(d3);
            t.AssignDeveloper(d4);
        }
        public void AssignDevelopersTest()
        {
            ToDo      t  = new ToDo(1, this.testDecription, this.testDecription, this.testDueTimestamp, Priority.NORMAL);
            Developer d1 = new Developer(1, "John Doe");
            Developer d2 = new Developer(11, "Jane Doe");
            Developer d3 = new Developer(111, "Donald Duck");

            t.AssignDeveloper(d1);
            t.AssignDeveloper(d2);
            t.AssignDeveloper(d3);

            CollectionAssert.AreEquivalent(new Developer[] { d1, d2, d3 }, t.GetAssignedDevelopers());
        }
        public void RemoveUnknownDeveloperTest()
        {
            ToDo      t  = new ToDo(1, this.testDecription, this.testDecription, this.testDueTimestamp, Priority.NORMAL);
            Developer d1 = new Developer(1, "John Doe");
            Developer d2 = new Developer(11, "Jane Doe");

            t.AssignDeveloper(d1);
            t.RemoveDeveloper(d2);
        }