Example #1
0
        public void RemoveAllParticipants_ReturnsNoParticipants()
        {
            // Arrange
            var drawService = new DrawService();

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

            // Act
            drawService.RemoveAllParticipants();

            // Assert
            Assert.Equal(0, drawService.GetParticipants().Count);
        }