chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi,

Am getting the following error with TypeMock version 6.0.4.
These tests are running with out any issues in version 5.4.5.

Test Process 1: Test method BoardUnitTest.BoardTest.Map6 threw exception TypeMock.TypeMockException, but exception ABC.Project2.Utilities.Project1Exception was expected. Exception message: TypeMock.TypeMockException: *** Cannot return a value for InterceptedTypes.IsIntercepted() because no value was set. use recorder.Return(). *** Note: Cannot mock types from mscorlib assembly.

As this message appears in number of locations apart from changing the individual code do you suggest any other global solution?

Thanks.
asked by mbs (1.9k points)

13 Answers

0 votes
I replied to both of you via our support email.

Please find the download URL in there.
answered by igal (5.7k points)
0 votes
Hello, I am also running into this issue. Is there a patch available ?? I'm curious as to whether or not this will resolve my unit tests, thanks in advance.

I am using 6.04.
answered by achan118 (140 points)
0 votes
Hi,

You can download the latest version from our site it already includes the fix :)
answered by ohad (35.4k points)
...