public void DisplayParkInfoTest() { // Arrange ParkDAL pDAL = new ParkDAL(connectionString); //Act IList <Park> park = pDAL.DisplayParkInfo(1); //Assert Assert.IsNotNull(park); }
public void DisplayParkInfoTest() { Park newPark = new Park { ParkId = 1 }; ParkDAL parkDAL = new ParkDAL(connectionString); Park park = parkDAL.DisplayParkInfo(newPark); Assert.AreEqual(1, park.ParkId); }