public void TestStudentDogStatic2()
 {
     IStudentX s1 = new StudentX();
     IDogX d1 = new DogX();
     s1.Pets.Add(d1);
     Assert.AreEqual(d1.Owner, s1);
     Assert.IsTrue(s1.Pets.Contains(d1));
 }
 public void TestStudentPetStatic2()
 {
     IStudentX s1 = new StudentX();
     IPetX t1 = new PetX();
     s1.Pets.Add(t1);
     Assert.AreEqual(t1.Owner, s1);
     Assert.IsTrue(s1.Pets.Contains(t1));
 }
 public void TestStudentDogStatic4()
 {
     IStudentX s1 = new StudentX();
     IDogX d1 = new DogX();
     s1.Dogs.Add(d1);
     Assert.AreEqual(d1.Friend, s1);
     Assert.IsTrue(s1.Dogs.Contains(d1));
 }