public void ApplyODataQuery_WhenGivenEmpty_ReturnsFilteredCollection() { var c = new List <Album>() { new Album() { AlbumId = 1 }, new Album() { AlbumId = 2 } }.AsQueryable(); var q = ODataQuery.Empty <Album>(); var p = q.ApplyTo(c); Assert.AreEqual(2, p.Count); Assert.AreEqual(2, p.Count()); }