public void TestPersonPetStatic1()
 {
     IPersonX p1 = new PersonX();
     IPetX t1 = new PetX();
     t1.Owner = p1;
     Assert.AreEqual(t1.Owner, p1);
     Assert.IsTrue(p1.Pets.Contains(t1));
 }
 public void TestPersonDogStatic2()
 {
     IPersonX p1 = new PersonX();
     IDogX d1 = new DogX();
     p1.Pets.Add(d1);
     Assert.AreEqual(d1.Owner, p1);
     Assert.IsTrue(p1.Pets.Contains(d1));
 }