public void DynamicListShouldContainTakeMethod() { var list = new DynamicList( new List<Address> { new Address { Street = "Street1" }, new Address { Street = "Street2" }, new Address { Street = "Street3" } }); Assert.Equal(2, list.Take(2).Count()); }
public void DynamicListShouldContainTakeMethod() { var list = new DynamicList( new List <Address> { new Address { Street = "Street1" }, new Address { Street = "Street2" }, new Address { Street = "Street3" } }); Assert.Equal(2, list.Take(2).Count()); }