NLite.Data.Test.NorthwindExecutionTest.TestOrderByOrderBy C# (CSharp) Method

TestOrderByOrderBy() private method

private TestOrderByOrderBy ( ) : void
return void
        public virtual void TestOrderByOrderBy()
        {
            var list = db.Customers.OrderBy(c => c.Phone).OrderBy(c => c.CustomerID).ToList();
            var sorted = list.OrderBy(c => c.CustomerID).ToList();
            AssertValue(91, list.Count);
            Assert.IsTrue(Enumerable.SequenceEqual(list, sorted));
        }
NorthwindExecutionTest