Ejemplo n.º 1
0
        public void TestAllCorrectGuesses()
        {
            //Arrange
            messages.Add(CreateChatMessage(userId2, startTime.AddSeconds(10), "Hest"));
            messages.Add(CreateChatMessage(userId3, startTime.AddSeconds(5), "Hest"));
            messages.Add(CreateChatMessage(userId1, startTime.AddSeconds(10), "Hest"));

            //Act
            messages = _service.CorrectGuesses(turn, messages);

            //Assert
            Assert.That(messages.Count == 3);
        }