Ejemplo n.º 1
0
        public void AddScoreable_GivenValidScoreable_ShouldBePresentInScoreablesProperty()
        {
            // Arrange.
            var testObject = new Competitor("SomeName");

            // Act.
            testObject.AddScoreable("(S) Some Summit");

            // Assert.
            Assert.AreEqual(1, testObject.Scoreables.Count(s => s.Name == "Some Summit"));
        }