Visual studio 2010 Premium MSTest but?
===

The following is the test code. 

    namespace ConsoleApplication2
    {
        class MyClass {}
        class Program
        {
            static void Main(string[] args) { }
    
            List<MyClass> Test() { return new List<MyClass>(); }
        }
    }

Then using Visual studio create a union test for method `Test()`.

        [TestMethod()]
        [DeploymentItem("ConsoleApplication2.exe")]
        public void TestTest()
        {
            Program_Accessor target = new Program_Accessor(); // TODO: Initialize to an appropriate value
            List<MyClass_Accessor> actual;
            actual = target.Test();
            Assert.IsTrue(actual != null);
        }

It will get the following exception when running the test. How to workaround the issue?

<pre>
Test method TestProject1.ProgramTest.TestTest threw exception:  
System.InvalidCastException: Unable to cast object of type 'System.Collections.Generic.List`1[ConsoleApplication2.MyClass]' to type 'System.Collections.Generic.List`1[ConsoleApplication2.MyClass_Accessor]'.
</pre>

I tried the following method and it doesn't work too.

    IEnumerable<MyClass> Test1() { return new List<MyClass>(); }
