Reputation: 23
I am trying to mock an extension method with justmock. For some reason it throws the following error:
"Test method TestProject1.JustMockTest.TestMethod threw exception: Telerik.JustMock.Core.ElevatedMockingException: Cannot mock 'TestProject1.Foo'. The profiler must be enabled to mock, arrange or execute the specified target."
How can I fix this?
Upvotes: 1
Views: 66