public virtual void TestSelectLocal() { int x = 10; var list = db.Customers.Select(c => x).ToList(); AssertValue(91, list.Count); Assert.IsTrue(list.All(y => y == 10)); }