Here's an example failure:
TypeMock.VerifyException :
TypeMock Verification: Call to nCrunch.TestRuntime.TestCoverageEventListener.MarkTestLineStart() Parameter: 1
expected: <(null)>
but was: <2>
at dq.a(Object A_0, String A_1, String A_2, MethodBase A_3, Object[] A_4, Object A_5)
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, Object p1, Object p2, Object p3, Object p4)
at nCrunch.TestRuntime.TestCoverageEventListener.MarkTestLineStart(Int32 componentId, Int32 coverageMarkerIndex, Int32& existingCoverageMarkerIndex, UInt32& existingTickCount)
at TetraData.Common.SQL.DbCommandExecute.ExecuteScriptSplitOnGo(ITDDbConnection conn, String sql) in c:\dev7\source\Shared\Common\DbCommandExecute.cs:line 0
at CommonTests.DbCommandExecuteFixture.ExecuteScriptSplitOnGo() in c:\dev7\source\Shared\Common\CommonTests\DbCommandExecuteFixture.cs:line 37
One thing worth mentioning, this test uses the old style Typemock with RecordExpectataions, not the new Isolate. Does that make a difference to you, or is that all contained within the TypeMock engine?
Thanks,
pete