public void AddPet_Should_Add_Pet_To_Shelter() { Pet newPet = new Pet(); sut.AddPet(newPet); Assert.Single(sut.ShelterList); }
public void Pet_Is_Added() { var xxx = new Shelter(); var billy = new VirtualPet(); xxx.AddPet(billy); Assert.NotEmpty(xxx.Pets); }
public void Pet_Is_Added() { var xxx = new Shelter(); var billy = new OrganicPet("Cat", "ROb", 5); xxx.AddPet(billy); Assert.NotEmpty(xxx.Pets); }
public void AddPet_Should_Increase_List_Count_by_1() { //Arrange testShelter.ListOfPets.Clear(); Pet newPet = new Pet(); //Act testShelter.AddPet(newPet); //Assert Assert.Single(testShelter.ListOfPets); }
public void AddPet_Should_Increase_ListofPets_by_1() { testShelter.AddPet(newPet); Assert.Single(testShelter.ListofPets); }