Beispiel #1
0
        public void When_FilmRepository_Count_is_4_Then_MaxNO_is_0_If_VisibleCount_is_4()
        {
            // Prepare
            _filmRepository.VisibleCount = 4;

            // Act
            for (int i = 0; i < 3; i++)
            {
                _filmRepository.Append();
            }

            // Assert
            Assert.AreEqual(0, _filmRepository.MaxNO);
        }