Hi, I'm trying to evaluate JustMock for the team. Trying to convert some Moq tests to JustMocks and I'm getting an error like:
Test method Implementation.Test.HealthCheckHandlerTest.active_endpoints_returns_results_using_JustMock threw exception:
System.TypeAccessException: Attempt by method 'PrivateApiProxy_Interceptor_38cce20ce0d04bd6b91832ef4a05927c.Intercept(Implementation.PrivateApiAccess.PrivateApiProxy, Boolean ByRef)' to access type 'System.Collections.Generic.IEnumerable`1<Implementation.PrivateApiAccess.PrivateApiResponse>' failed.
Strangely, although I initialized them as strict, the calls seem to be falling through into the implementation.
I'm in a bit of a hurry, so I've simply remove some of the namespaces to protect the inocent. Can you tell me what I might be doing wrong to recieve this error. I may be able to write something stand alone that I can share, but it is annoying when you get an unhandle exception from the framework.
Test method Implementation.Test.HealthCheckHandlerTest.active_endpoints_returns_results_using_JustMock threw exception:
System.TypeAccessException: Attempt by method 'PrivateApiProxy_Interceptor_38cce20ce0d04bd6b91832ef4a05927c.Intercept(Implementation.PrivateApiAccess.PrivateApiProxy, Boolean ByRef)' to access type 'System.Collections.Generic.IEnumerable`1<Implementation.PrivateApiAccess.PrivateApiResponse>' failed.
Strangely, although I initialized them as strict, the calls seem to be falling through into the implementation.
I'm in a bit of a hurry, so I've simply remove some of the namespaces to protect the inocent. Can you tell me what I might be doing wrong to recieve this error. I may be able to write something stand alone that I can share, but it is annoying when you get an unhandle exception from the framework.