public void DropWhile_WithIEnumerable_ShouldDropItemsUntilThePredicateGetsInvalid() { //Arrange var list = new System.Collections.Generic.List <int> { 1, 2, 3, 4, 5 }; //Act var result = list.DropWhile(i => i < 4); //Assert Assert.Equal( expected: new System.Collections.Generic.List <int> { 4, 5 }, actual: result); }