I'm also seeing this issue and the patch doesn't fix it. I'm guessing the patch not fixing it has something to do with my having VS2010 SP1 installed. A colleague of mine has no SP1 installed and can get the tests to pass using the .355 patch provided above.
SUPER simple repro:
File -> New ASP.NET MVC3 Project.
Make it an empty project.
Add a reference to Microsoft.VisualStudio.QualityTools.UnitTestFramework.
Add references to Typemock.dll and Typemock.ArrangeActAssert.dll.
Drop the following test fixture in and try to run the test:
public class DemoTestClass
public void Test()
var controller = Isolate.Fake.Instance<Controller>();
var context = Isolate.Fake.Instance<ControllerContext>();
Isolate.WhenCalled(() => controller.ControllerContext).WillReturn(context);
var actual = controller.ControllerContext;
The test fails with the exception:
Test 'MvcApplication1.Controllers.DemoTestClass.Test' failed: TypeMock.TypeMockException:
*** No method calls found in recording block. Please check:
* Are you trying to fake a field instead of a property?
* Are you are trying to fake an unsupported mscorlib type? See supported types here: https://www.typemock.com/mscorlib-types
at gj.a(cs A_0, Boolean A_1)
at dg.a(Boolean A_0)
at dl.b(Boolean A_0)
at in.c(Boolean A_0)
at in.a(Object A_0, Boolean A_1, Func`1 A_2, Action A_3, Action A_4, Action A_5)
at in.c(Object A_0)
Controllers\DemoTestClass.cs(20,0): at MvcApplication1.Controllers.DemoTestClass.Test()
at TypeMock.MockManager.a(String A_0, String A_1, Object A_2, Object A_3, Boolean A_4, Boolean A_5, Object A_6)
at TypeMock.InternalMockManager.getReturn(Object that, String typeName, String methodName, Object methodParameters, Boolean isInjected, Boolean isInterceptedType)
Controllers\DemoTestClass.cs(0,0): at MvcApplication1.Controllers.DemoTestClass.Test()
Tried this with version 126.96.36.199 and was equally unsuccessful.
Also getting VerificationException on some tests, but I don't have a repro for that.