public void Setup() { petCollection = new TempPetCollectionStorage(); userCollection = new TempUserCollectionStorage(); testPetDataAccess = new PetDataAccess(petCollection); petOne = new Pet("Iggy The Lizard", PetType.Reptile, 100, 150, 2.5, 2.5, "UserABC123"); petTwo = new Pet("Billy The Boxer", PetType.Dog, 200, 300, 5, 5, "UserABC123"); petThree = new Pet("Sammy the Stegosaurus", PetType.Dinosaur, 1000, 50, 100, 1, "UserCDE456"); }
public PetController() { /// this in the real implementation the parametre of the mongocollection would consist of a new instance of IDataAccess petDataAccess = new PetDataAccess(new TempDataStorage.TempPetCollectionStorage()); }