public void BarRating_AddRating_ToNullBarList()
        {
            // Arrange
            var rating = new BarRating();

            // Act && Assert
            Assert.Throws <ArgumentNullException>(() => rating.AddRating(null, 5));
        }
Beispiel #2
0
        public void BarRating_AddRatingToNullBarList()
        {
            // Arrange
            BarRating rating = new BarRating();

            // Act
            rating.AddRating(null, 100);
            // Assert
        }