Пример #1
0
        public void GetParticipantsCount_AllParticipants_ReturnsCountOfParticipants()
        {
            // Arrange
            var drawService = new DrawService();

            drawService.AddParticipant("participant_one");
            drawService.AddParticipant("participant_two");
            drawService.AddParticipant("participant_three");

            // Act
            var result = drawService.GetParticipantsCount();

            // Assert
            Assert.Equal(3, result);
        }