Пример #1
0
        public void Result_Sorting_Works()
        {
            var testMachineCollection = MachineCollection.Get();


            var sortedCollection = testMachineCollection.SortBy <Machine>("Id", "DSC");

            Assert.AreEqual(2, sortedCollection.First().Id);
        }
 public void SetUp()
 {
     _testMachineCollection = MachineCollection.Get();
     _result = new HtmlGrid("test").GridFromViewModel(new MachineViewModel().FromCollection(_testMachineCollection));
 }