public void CanSortUsingExternalComparer() { IComparer comparer = new ReverseSortComparer(); mockTestFixture.Sort(comparer); Assert.AreEqual("TestWithManyProperties", ((Test)mockTestFixture.Tests[0]).TestName.Name); }
public void CanSortUsingExternalComparer() { IComparer comparer = new ReverseSortComparer(); mockTestFixture.Sort(comparer); Assert.AreEqual( "TestWithManyProperties", ((Test)mockTestFixture.Tests[0]).TestName.Name ); }