public void testSetUp() { _pet = new PetAccessorMock(); _petManager = new PetManager(_pet); _pets = new List <Pet>(); _pets = _petManager.RetrieveAllPets(); }
public void CanDeletePet() { int petID = 999991; Pet pet = new Pet() { PetID = petID, PetName = "PetName", Gender = "Male", Species = "Lion", PetTypeID = "Cat", GuestID = 123456 }; _petManager.CreatePet(pet); _petManager.DeletePet(999991); _petManager.RetrieveAllPets(); }