Beispiel #1
0
        public void Test_Delete()
        {
            Flight newFlight = new Flight("1", "On time", "6:30 PM");

            newFlight.Save();
            List <Flight> expected = new List <Flight> {
            };

            newFlight.Delete();
            List <Flight> actual = Flight.GetAll();

            Assert.Equal(expected, actual);
        }