public void AddToMenu_ShouldGetCoorectBool() { //Arrange Outing content = new Outing(); OutingRepository repo = new OutingRepository(); //Act bool addResult = repo.AddContentToOutingList(content); //Assert Assert.IsTrue(addResult); }
public void GetAllMenuContent_ShouldReturnAllContent() { //Arrange Outing content = new Outing(); OutingRepository repo = new OutingRepository(); repo.AddContentToOutingList(content); //Act List <Outing> outing = repo.GetAllOutingInfo(); bool result = outing.Contains(content); //Assert Assert.IsTrue(result); }