Пример #1
0
        public void OutingRepository_AddingOuting()
        {
            //--Arrange
            OutingClass newOuting = new OutingClass("Basketball Game", 4000, 200, DateTime.Parse("12/12/1212"));

            outingRepo.AddOutingtoList(newOuting);
            List <OutingClass> outingList = outingRepo.GetList();

            //--Act
            int actual   = outingList.Count;
            int expected = 5;

            //--Assert
            Assert.AreEqual(expected, actual);
        }