public void AddToEnumerable() { // Arrange var list = new List <int> { 1, 2, 3, 4 }; var element = 10; // Act var withElement = EnumerableExtension.Add(list, element); // Assert Assert.Contains(element, withElement); }