Esempio n. 1
0
        public void Pet_Gets_Added_To_List()
        {
            Pet     pet     = new Pet();
            Shelter shelter = new Shelter();

            shelter.allPetsInShelter.Clear();

            shelter.AddPetToShelter(pet);

            Assert.Single(shelter.allPetsInShelter);
        }
Esempio n. 2
0
 public void Add_Pet_To_Shelter_Should_Add_Pet_To_List()
 {
     testShelter.AddPetToShelter(testOrganicPet1);
     Assert.NotNull(testShelter.listOfPets[0]);
 }