Пример #1
0
        public void AddOutingsShouldReturnCorrectCount()
        {   //Arrange
            OutingRepo _outingRepo = new OutingRepo();
            OutingInfo outing      = new OutingInfo();
            OutingInfo outingTwo   = new OutingInfo();
            OutingInfo outingThree = new OutingInfo();

            _outingRepo.AddOutingToList(outing);
            _outingRepo.AddOutingToList(outingTwo);
            _outingRepo.AddOutingToList(outingThree);
            //Act
            int actual   = _outingRepo.GetOutingInfo().Count;
            int expected = 3;

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